]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: gadget: atmel_usba: use endian agnostic IO on ARM
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 18 Mar 2015 15:53:09 +0000 (15:53 +0000)
committerFelipe Balbi <balbi@ti.com>
Thu, 19 Mar 2015 16:28:16 +0000 (11:28 -0500)
commita3dd3befd7cb7d445fcb7c51cd922bf89afe0762
treea8b9bb36f55d07c9451e69891762f7a23b2a6fec
parentb48cb02de37976ad2ebef201ad40aa40156f6daa
usb: gadget: atmel_usba: use endian agnostic IO on ARM

Change from using the __raw IO accesors to the endian agnostic versions
of readl/writel_relaxed when not on AVR32. This fixes issues with running
big endian on ARMv7.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
--
CC: Nicolas Ferre <nicolas.ferre@atmel.com>
CC: Felipe Balbi <balbi@ti.com>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/atmel_usba_udc.c
drivers/usb/gadget/udc/atmel_usba_udc.h