]> git.karo-electronics.de Git - linux-beck.git/commit
usb: renesas_usbhs: Don't check CSSTS bit if peripheral mode
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 5 Feb 2016 04:57:11 +0000 (13:57 +0900)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:28 +0000 (15:14 +0200)
commit21a596c17b2738fc0f13dd4cdfb6f42c397109ac
tree8b6d6c5d2484998033f46f3606e735267e6b8f44
parentde18757e272d0e948bfa3e083a1771887f719c05
usb: renesas_usbhs: Don't check CSSTS bit if peripheral mode

Since Some SoCs (e.g. R-Car Gen2) don't have the CSSTS bit in the
pipectrl registers ({DCP,PIPEn}CTR) because such SoCs have peripheral
mode only. So, this driver should not check the CSSTS bit if peripheral
mode is running.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/renesas_usbhs/pipe.c