]> git.baikalelectronics.ru Git - kernel.git/commit
usb: r8a66597-hcd pio to mmio accessor conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:27:54 +0000 (16:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:31:15 +0000 (16:31 +0900)
commit7105d0af76c547ee9a7408ff2be13a4797813ede
tree79ac000a8fb4b829f23e2247810de8c8c38eb608
parentbaf8930e8336c6971286f1b3436236a730bf3fc2
usb: r8a66597-hcd pio to mmio accessor conversion.

r8a66597-hcd 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/host/r8a66597-hcd.c
drivers/usb/host/r8a66597.h