usb: gadget: renesas_usbhs: add usbhs_dcp_dir_for_host()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Oct 2011 05:02:57 +0000 (22:02 -0700)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:41:41 +0000 (20:41 +0300)
commit923520715b5a698271f8763e97eee65e21d5561e
tree6acf86bdf6ea20832695cd227c39050f1c9d4851
parent0deb3e77025688e0650e1af672d3e42e15cd8916
usb: gadget: renesas_usbhs: add usbhs_dcp_dir_for_host()

renesas_usbhs device needs special bit settings
if it was mod_host and dcp pipe.
This patch support it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/fifo.c
drivers/usb/renesas_usbhs/pipe.c
drivers/usb/renesas_usbhs/pipe.h