diff options
author | Longfang Liu <[email protected]> | 2021-04-09 16:48:01 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-10 10:45:38 +0200 |
commit | 26b75952ca0b8b4b3050adb9582c8e2f44d49687 (patch) | |
tree | 83be97fd37d111f0032443dab105fb45919e6fc8 /drivers/usb/cdns3/core.c | |
parent | 496960274153bdeb9d1f904ff1ea875cef8232c1 (diff) |
USB:ehci:fix Kunpeng920 ehci hardware problem
Kunpeng920's EHCI controller does not have SBRN register.
Reading the SBRN register when the controller driver is
initialized will get 0.
When rebooting the EHCI driver, ehci_shutdown() will be called.
if the sbrn flag is 0, ehci_shutdown() will return directly.
The sbrn flag being 0 will cause the EHCI interrupt signal to
not be turned off after reboot. this interrupt that is not closed
will cause an exception to the device sharing the interrupt.
Therefore, the EHCI controller of Kunpeng920 needs to skip
the read operation of the SBRN register.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Longfang Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions