diff options
author | Selvarasu Ganesan <selvarasu.g@samsung.com> | 2024-09-17 04:48:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-04 15:33:33 +0200 |
commit | 0d410e8913f5cffebcca79ffdd596009d4a13a28 (patch) | |
tree | 8ebada78928dbcc1c69f48849b121abebb0ce4f3 /rust/helpers/task.c | |
parent | 897e13a8f9a23576eeacb95075fdded97b197cc3 (diff) | |
download | linux-0d410e8913f5cffebcca79ffdd596009d4a13a28.tar.gz linux-0d410e8913f5cffebcca79ffdd596009d4a13a28.tar.bz2 linux-0d410e8913f5cffebcca79ffdd596009d4a13a28.zip |
usb: dwc3: core: Stop processing of pending events if controller is halted
This commit addresses an issue where events were being processed when
the controller was in a halted state. To fix this issue by stop
processing the events as the event count was considered stale or
invalid when the controller was halted.
Fixes: fc8bb91bc83e ("usb: dwc3: implement runtime PM")
Cc: stable@kernel.org
Signed-off-by: Selvarasu Ganesan <selvarasu.g@samsung.com>
Suggested-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20240916231813.206-1-selvarasu.g@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions