public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: pxa: hx4700: fix the usb client
@ 2018-05-26  9:38 Robert Jarzmik
  2018-06-20 20:21 ` Robert Jarzmik
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Jarzmik @ 2018-05-26  9:38 UTC (permalink / raw)
  To: Philipp Zabel, Paul Parsons, Daniel Mack, Haojian Zhuang,
	Robert Jarzmik
  Cc: linux-arm-kernel, linux-kernel

The usb client of the hx4700 is not working because no platform data is
declared. Fix it by adding the missing call.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 arch/arm/mach-pxa/hx4700.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c
index e2e7f247a645..b79b757fdd41 100644
--- a/arch/arm/mach-pxa/hx4700.c
+++ b/arch/arm/mach-pxa/hx4700.c
@@ -54,6 +54,7 @@
 
 #include "devices.h"
 #include "generic.h"
+#include "udc.h"
 
 /* Physical address space information */
 
@@ -594,6 +595,8 @@ static struct platform_device gpio_vbus = {
 	},
 };
 
+static struct pxa2xx_udc_mach_info hx4700_udc_info;
+
 /*
  * Touchscreen - TSC2046 connected to SSP2
  */
@@ -891,6 +894,7 @@ static void __init hx4700_init(void)
 	gpio_set_value(GPIO71_HX4700_ASIC3_nRESET, 1);
 	mdelay(10);
 
+	pxa_set_udc_info(&hx4700_udc_info);
 	regulator_has_full_constraints();
 }
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: pxa: hx4700: fix the usb client
  2018-05-26  9:38 [PATCH] ARM: pxa: hx4700: fix the usb client Robert Jarzmik
@ 2018-06-20 20:21 ` Robert Jarzmik
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Jarzmik @ 2018-06-20 20:21 UTC (permalink / raw)
  To: Philipp Zabel
  Cc: Paul Parsons, Daniel Mack, Haojian Zhuang, linux-arm-kernel,
	linux-kernel

Robert Jarzmik <robert.jarzmik@free.fr> writes:

> The usb client of the hx4700 is not working because no platform data is
> declared. Fix it by adding the missing call.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Queued to pxa/for-next.

--
Robert

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-20 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-26  9:38 [PATCH] ARM: pxa: hx4700: fix the usb client Robert Jarzmik
2018-06-20 20:21 ` Robert Jarzmik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox