]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: m66592-udc: add function for external controller
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 7 Jul 2011 00:58:43 +0000 (09:58 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 8 Jul 2011 22:08:39 +0000 (01:08 +0300)
commit66b05cf243ec2c32fd05c80fc12fdaafa337bc0d
tree1bf92ae02fd2e0b9a29c09a1229216285a6415b1
parent3301e67593741ae9edfdaf494dd912f7f54c3af5
usb: gadget: m66592-udc: add function for external controller

M66592 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/m66592-udc.c
drivers/usb/gadget/m66592-udc.h
include/linux/usb/m66592.h