* Patch "usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc" has been added to the 4.7-stable tree
@ 2016-08-17 12:54 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-08-17 12:54 UTC (permalink / raw)
To: alexandre.belloni, felipe.balbi, gregkh, u.kleine-koenig
Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc
to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-gadget-udc-atmel-also-get-regmap-for-at91sam9x5-pmc.patch
and it can be found in the queue-4.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 882bd9fc46321c9d4721b376039a142cbfe8a17a Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Date: Mon, 13 Jun 2016 10:47:30 +0200
Subject: usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
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 | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/usb/gadget/udc/atmel_usba_udc.c
+++ b/drivers/usb/gadget/udc/atmel_usba_udc.c
@@ -1920,6 +1920,8 @@ static struct usba_ep * atmel_udc_of_ini
udc->errata = match->data;
udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9g45-pmc");
+ if (IS_ERR(udc->pmc))
+ udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9x5-pmc");
if (udc->errata && IS_ERR(udc->pmc))
return ERR_CAST(udc->pmc);
Patches currently in stable-queue which might be from alexandre.belloni@free-electrons.com are
queue-4.7/usb-gadget-udc-atmel-also-get-regmap-for-at91sam9x5-pmc.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-17 12:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 12:54 Patch "usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc" has been added to the 4.7-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.