usb: gadget: r8a66597-udc: add function for external controller
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 30 Sep 2011 11:07:21 +0000 (20:07 +0900)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:38:37 +0000 (20:38 +0300)
commit5c481a639068ac34bd1dcd183f37b7a65d0e3841
tree3b94182bcaa581375fc26920ef4ba0c118ff5d20
parent0a85577627fc81936d3dbdfb349964024adcb01d
usb: gadget: r8a66597-udc: add function for external controller

R8A66597 has the pin of WR0 and WR1. So, if one write-pin of CPU
connects to the pins, we have to change the setting of FIFOSEL
register in the controller. If we don't change the setting,
the controller cannot send the data of odd length.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/r8a66597-udc.h