mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 03:59:22 +02:00
Currently if we bootup a device without cable connected, then
usb-conn-gpio won't call set_role() because last_role is same
as current role. This happens since last_role gets initialised
to zero during the probe.
To avoid this, add a new flag initial_detection into struct
usb_conn_info, which prevents bailing out during initial
detection.
Cc: <stable@vger.kernel.org> # 5.4
Fixes:
|
||
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| debug.c | ||
| Kconfig | ||
| led.c | ||
| Makefile | ||
| ulpi.c | ||
| usb-conn-gpio.c | ||
| usb-otg-fsm.c | ||