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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 21 Jun 2016 07:52:22 +0000 (10:52 +0300)
commit882bd9fc46321c9d4721b376039a142cbfe8a17a
treeeca82f5ab1bb79a7455d4c544f49d06dcebe42ec
parent837e9f00bf9966d64abc1bce678271099a72423b
usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc

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>
drivers/usb/gadget/udc/atmel_usba_udc.c