[v2,2/2] USB:ehci:fix Kunpeng920 ehci hardware problem
diff mbox series

Message ID 1617889760-17733-3-git-send-email-liulongfang@huawei.com
State New, archived
Headers show
  • USB:ehci:fix the no SRBN register problem
Related show

Commit Message

liulongfang April 8, 2021, 1:49 p.m. UTC
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 be added
to the whitelist without SBRN register.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
 drivers/usb/host/ehci-pci.c | 2 ++
 1 file changed, 2 insertions(+)

diff mbox series

diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 534e906..7bd075c 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -53,6 +53,8 @@  static const struct usb_nosbrn_whitelist_entry {
 } usb_nosbrn_whitelist[] = {
 	/* STMICRO ConneXT has no sbrn register */
+	/* HUAWEI Kunpeng920 HiSilicon USB EHCI has no sbrn register */
 	/* End of list */