]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: r8a66597-udc: fix flush fifo handling
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 31 Oct 2011 07:01:33 +0000 (16:01 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Nov 2011 19:51:20 +0000 (11:51 -0800)
commit7508ef596bd45c347902dbdc70e7f3a092411d2b
tree43e2f10f1da6a3bb1c35bcac10cfb383d4a71f66
parent3a35b2c6df4bdb91f353393eb45fdb218c9ea170
usb: gadget: r8a66597-udc: fix flush fifo handling

The "BCLR" in CFIFOCTR/DnFIFOCTR can flush the fifo of "CPU side" only.
To flush the fifo of "SIE side", we have to use the "ACLRM" in PIPEnCTR.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/r8a66597-udc.c