usb: r8a66597-hcd: add function for external controller
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 7 Jul 2011 00:57:10 +0000 (09:57 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:57:11 +0000 (14:57 -0700)
commitf2e9039a43b01f01cab9dfaea2cad5f304fb3343
tree44ddb1f51f05b3cd51a8e08eea08d0d8d7c7362e
parent81463c1d707186adbbe534016cd1249edeab0dac
usb: r8a66597-hcd: 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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/r8a66597.h
include/linux/usb/r8a66597.h