]> git.ipfire.org Git - people/ms/linux.git/commit
ARM: pxa: lubbock: pass udc irqs as resource
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Sep 2019 14:10:33 +0000 (16:10 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:55:47 +0000 (22:55 +0200)
commit047dc2a21ed01437f99bc78c55a8ff86dfe3493e
tree226a7f02e444fcf33652b1d7effd5e976426340c
parente6c91e1adfd385e99cbe5d1b90684ebeb96540ea
ARM: pxa: lubbock: pass udc irqs as resource

Lubbock is the only machine that has three IRQs for the UDC.
These are currently hardcoded in the driver based on a
machine header file.

Change this to use platform device resources as we use for
the generic IRQ anyway.

Cc: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/lubbock.h [moved from arch/arm/mach-pxa/include/mach/lubbock.h with 97% similarity]
drivers/usb/gadget/udc/pxa25x_udc.c
drivers/usb/gadget/udc/pxa25x_udc.h