]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: r8a66597-udc pio to mmio accessor conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:27:12 +0000 (16:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:31:02 +0000 (16:31 +0900)
commitbaf8930e8336c6971286f1b3436236a730bf3fc2
tree19f61b72795fe70f24bd2e69a2ef38548710a427
parentb1531817e029be8828ac0e909e1785ffcf238abb
usb: gadget: r8a66597-udc pio to mmio accessor conversion.

r8a66597-udc is erroneously using PIO routines on MMIO registers, which
presently blows up for any platform that elects to either override or do
away with PIO routines. This managed to work for the common cases since
the PIO routines were simply wrapped to their MMIO counterparts. This
switches over to using the MMIO routines directly, and enables us to kill
off a lot of superfluous casting in the process.

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/usb/gadget/r8a66597-udc.c
drivers/usb/gadget/r8a66597-udc.h