]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
authorKyle Tso <kyletso@google.com>
Tue, 3 Aug 2021 09:13:14 +0000 (17:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 10:27:43 +0000 (12:27 +0200)
commit083fdffa1351e636184eb8e89642353847e9d65b
tree33d443644df5d5908ee4d3de976403a653c9553e
parent8b1e273337810bb4d37c3bed00cbd604cd0de21e
usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events

When receiving FRS and Sourcing_Vbus events from low-level drivers, keep
other events which come a bit earlier so that they will not be ignored
in the event handler.

Fixes: a8ae9ea53271 ("usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS)")
Cc: stable <stable@vger.kernel.org>
Cc: Badhri Jagan Sridharan <badhri@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Badhri Jagan Sridharan <badhri@google.com>
Signed-off-by: Kyle Tso <kyletso@google.com>
Link: https://lore.kernel.org/r/20210803091314.3051302-1-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpm.c