diff options
author | Guiting Shen <[email protected]> | 2023-06-26 23:27:13 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-07-25 17:39:10 +0200 |
commit | c55afcbeaa7a6f4fffdbc999a9bf3f0b29a5186f (patch) | |
tree | f7d869a38fc0f19ac69c496846692a32ee35be11 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 13e098b58b8ff6d17f98f459dcc23ff064818e80 (diff) |
usb: ohci-at91: Fix the unhandle interrupt when resume
The ohci_hcd_at91_drv_suspend() sets ohci->rh_state to OHCI_RH_HALTED when
suspend which will let the ohci_irq() skip the interrupt after resume. And
nobody to handle this interrupt.
According to the comment in ohci_hcd_at91_drv_suspend(), it need to reset
when resume from suspend(MEM) to fix by setting "hibernated" argument of
ohci_resume().
Signed-off-by: Guiting Shen <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions