]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 13 Jun 2016 08:47:30 +0000 (10:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 16:10:48 +0000 (18:10 +0200)
commit035753b906a2fa8a0886cd87602810c6f48e0799
tree74e08bd89477d78d08b7119e2ccc991044403d74
parent0009bd624a5fa187ceb289c135fe7ecb2bb6378e
usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc

commit 882bd9fc46321c9d4721b376039a142cbfe8a17a upstream.

The "atmel,at91sam9g45-udc" compatible UDC is also used on at91sam9x5 so it
is also necessary to try to get the syscon for at91sam9x5-pmc.

Fixes: 4747639f01c9 ("usb: gadget: atmel: access the PMC using regmap")
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/atmel_usba_udc.c