mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00: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:
|
History
|
|
|---|---|---|
| .. | ||
| common.c | ||
| common.h | ||
| debug.c | ||
| Kconfig | ||
| led.c | ||
| Makefile | ||
| ulpi.c | ||
| usb-conn-gpio.c | ||
| usb-otg-fsm.c | ||