usb: dwc2: extcon: Update recent state once 30/224630/1 accepted/tizen/unified/20200213.121551 submit/tizen/20200212.081340
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 12 Feb 2020 03:36:58 +0000 (12:36 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 12 Feb 2020 05:16:14 +0000 (14:16 +0900)
commit4c8ff85e6eff509abc67c197b03330ff8925d704
tree31c42e2935e3dd4fd25ca680430faa3ae5561ada
parent48f41ac12b6564a5b5cffa595b2c8014b49d6b81
usb: dwc2: extcon: Update recent state once

To prevent wrong notification due to bunch of interrupts, give delay
to notification worker and thus update recent state once by discarding
events not yet notified.

Change-Id: I9bc096a5df95da78d0d91af5d2b97fbfad657247
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/extcon.c