]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: m66592-udc pio to mmio accessor conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:26:13 +0000 (16:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:26:13 +0000 (16:26 +0900)
commitb1531817e029be8828ac0e909e1785ffcf238abb
tree289caac25714550926277d4624b4ecbb396c065d
parenta6abf221e781a06c890de3185c4ced280edbc42b
usb: gadget: m66592-udc pio to mmio accessor conversion.

m66592-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/m66592-udc.h