]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0111e16ae294183d022be91ee49ba63d7c3f035
tree3b94182bcaa581375fc26920ef4ba0c118ff5d20
parent9fc53986c0fa8748e5b05842cf9e45dcaf91e158
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