diff options
author | Prashanth K <[email protected]> | 2024-07-30 18:27:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-07-31 10:39:54 +0200 |
commit | 5a444bea37e2759549ef72bfe83d1c8712e76b3d (patch) | |
tree | fd63e9bfb4eca41a96eb6a50cce2ab68cb0a3ebe /drivers/fpga/fpga-bridge.c | |
parent | 3c526089a663e25ac78b6a61d84a52a83680d0c3 (diff) |
usb: gadget: u_serial: Set start_delayed during suspend
Upstream commit aba3a8d01d62 ("usb: gadget: u_serial: add suspend
resume callbacks") added started_delayed flag, so that new ports
which are opened after USB suspend can start IO while resuming.
But if the port was already opened, and gadget suspend kicks in
afterwards, start_delayed will never be set. This causes resume
to bail out before calling gs_start_io(). Fix this by setting
start_delayed during suspend.
Fixes: aba3a8d01d62 ("usb: gadget: u_serial: add suspend resume callbacks")
Cc: [email protected]
Signed-off-by: Prashanth K <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions