OSDN Git Service

usb: host: ohci: fix sfr kernel warning in ohci-at91 driver
authorPrasanthi Chellakumar <Prasanthi.Chellakumar@microchip.com>
Fri, 25 May 2018 22:04:24 +0000 (15:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 May 2018 10:43:15 +0000 (12:43 +0200)
commit802bda5595ff79172652ede1bd0830b82f5dd596
treeb3b2514a00d611877f3ef44d1ef2b4f006e3ee5c
parent48b73d0fa11aa8613d51f7be61d2fa7f0ab05fd3
usb: host: ohci: fix sfr kernel warning in ohci-at91 driver

The USB Host Controller driver 'ohci-at91.c' reads a Special Function
Register - OHCI Interrupt Configuration Register (AT91_SFR_OHCIICR)
for bits SUSPEND_A/B/C. These bits are defined in sama5d2 alone, so
sfr register mapping is done with compatible string "atmel,sama5d2-sfr".
This gives a kernel warning 'failed to find sfr node' with non sama5d2
cpus which is removed here, thus leaving it up to having a proper DTS.

Signed-off-by: Prasanthi Chellakumar <prasanthi.chellakumar@microchip.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c