diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2024-11-14 01:02:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-16 09:04:56 +0100 |
commit | 5d2fb074dea289c41f5aaf2c3f68286bee370634 (patch) | |
tree | 4426b2ae379f57b53ae3fb731c79044b9cbd7fee /drivers/platform/x86/intel/pmt/class.c | |
parent | 51cdd69d6a857f527d6d0697a2e1f0fa8bca1005 (diff) | |
download | linux-5d2fb074dea289c41f5aaf2c3f68286bee370634.tar.gz linux-5d2fb074dea289c41f5aaf2c3f68286bee370634.tar.bz2 linux-5d2fb074dea289c41f5aaf2c3f68286bee370634.zip |
usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED
The driver cannot issue the End Transfer command to the SETUP transfer.
Don't clear DWC3_EP_TRANSFER_STARTED flag to make sure that the driver
won't send Start Transfer command again, which can cause no-resource
error. For example this can occur if the host issues a reset to the
device.
Cc: stable@vger.kernel.org
Fixes: 76cb323f80ac ("usb: dwc3: ep0: clear all EP0 flags")
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/d3d618185fd614bb7426352a9fc1199641d3b5f5.1731545781.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions