* [PATCH 1/3] usb: host: xhci-plat: add xhci_plat_start()
@ 2014-05-19 10:07 Yoshihiro Shimoda
2014-05-19 12:00 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Yoshihiro Shimoda @ 2014-05-19 10:07 UTC (permalink / raw)
To: mathias.nyman, Greg Kroah-Hartman, linux-usb@vger.kernel.org
Cc: SH-Linux, Magnus Damm, Geert Uytterhoeven, Grant Likely,
Rob Herring, devicetree@vger.kernel.org
Some platforms (such as the Renesas R-Car) need to initialize some specific
registers after xhci driver calls usb_add_hcd() and before the driver calls
xhci_run(). So, this patch adds the xhci_plat_start() function.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
drivers/usb/host/xhci-plat.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 0f5f4c8..561d07e 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -37,6 +37,11 @@ static int xhci_plat_setup(struct usb_hcd *hcd)
return xhci_gen_setup(hcd, xhci_plat_quirks);
}
+static int xhci_plat_start(struct usb_hcd *hcd)
+{
+ return xhci_run(hcd);
+}
+
static const struct hc_driver xhci_plat_xhci_driver = {
.description = "xhci-hcd",
.product_desc = "xHCI Host Controller",
@@ -52,7 +57,7 @@ static const struct hc_driver xhci_plat_xhci_driver = {
* basic lifecycle operations
*/
.reset = xhci_plat_setup,
- .start = xhci_run,
+ .start = xhci_plat_start,
.stop = xhci_stop,
.shutdown = xhci_shutdown,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 1/3] usb: host: xhci-plat: add xhci_plat_start()
2014-05-19 10:07 [PATCH 1/3] usb: host: xhci-plat: add xhci_plat_start() Yoshihiro Shimoda
@ 2014-05-19 12:00 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-05-19 12:00 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: mathias.nyman, Greg Kroah-Hartman, linux-usb@vger.kernel.org,
SH-Linux, Magnus Damm, Grant Likely, Rob Herring,
devicetree@vger.kernel.org
On Mon, May 19, 2014 at 12:07 PM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Some platforms (such as the Renesas R-Car) need to initialize some specific
> registers after xhci driver calls usb_add_hcd() and before the driver calls
> xhci_run(). So, this patch adds the xhci_plat_start() function.
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-19 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 10:07 [PATCH 1/3] usb: host: xhci-plat: add xhci_plat_start() Yoshihiro Shimoda
2014-05-19 12:00 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox