usb: renesas_usbhs: fix usbhs_pipe_clear() for DCP PIPE
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 4 Nov 2014 01:05:45 +0000 (10:05 +0900)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Nov 2014 19:22:16 +0000 (13:22 -0600)
commitcdeb79431331ff0eb5a8b6a31923497aa56d25a7
tree60f1c7ca9e510b2a9eab48a9258bc50fda36ab80
parent4ef35b10bff24304a5cbbf78719ce5f24d311d1f
usb: renesas_usbhs: fix usbhs_pipe_clear() for DCP PIPE

Since the DCPCTR doesn't have the ACLRM bit, the usbus_pipe_clear()
should not call the usbhsp_pipectrl_set() with ACLRM.
So, this patch fixes this issue to add the usbhs_fifo_clear_dcp()
in fifo.c because the controller needs the CFIFO to clear the
the DCP PIPE.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/fifo.c
drivers/usb/renesas_usbhs/fifo.h
drivers/usb/renesas_usbhs/mod_gadget.c
drivers/usb/renesas_usbhs/mod_host.c
drivers/usb/renesas_usbhs/pipe.c