Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[udev] Cancel mode selection when charger is detected. Fixes MER#1677
When charger is connected, usb-moded can see first "USB" (=cable) connection event from udev followed by "USB_CDP" (=charger) event. Due to cached something-connected flag usb moded still behaves as if pc cable were connected - which leaves ui thinking mode selection can/should be done etc. If dedicated charger is reported after pc cable, clear the low level something-connected flag before acting on charger connected info. Signed-off-by: Simo Piiroinen <firstname.lastname@example.org>
- Loading branch information