usb: renesas_usbhs: Add access control for INTSTS1 and INTENB1 register
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Fri, 9 Jan 2015 00:28:41 +0000 (09:28 +0900)
committerFelipe Balbi <balbi@ti.com>
Thu, 14 May 2015 14:56:09 +0000 (09:56 -0500)
commit88a25e02f35e56a6686d94fa334b7f00e9b72623
tree77f2a8ed5b5122a2dea13518ce4c9673bdf8803f
parent1c14905ef951fb968c8da90e4e64be02c309a2ae
usb: renesas_usbhs: Add access control for INTSTS1 and INTENB1 register

INTSTS1 and INTENB1 register of renesas_usbhs can access only Host mode.
This adds process of accessing INTSTS1 and INTENB1 only when renesas_usbhs
is Host mode.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod.c