summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2018-05-26 11:38:34 +0200
committerRobert Jarzmik <robert.jarzmik@free.fr>2018-06-20 22:21:03 +0200
commitf439b5c8a00d7b17d3f3618ea9b3b8977f33f8e7 (patch)
tree4aff6c4ad90ea27bc4c00cda105f47fba8f4894d
parentcd31b80736852d34bc1072f3e579a6fd73a244e7 (diff)
downloadlinux-stable-f439b5c8a00d7b17d3f3618ea9b3b8977f33f8e7.tar.gz
linux-stable-f439b5c8a00d7b17d3f3618ea9b3b8977f33f8e7.tar.bz2
linux-stable-f439b5c8a00d7b17d3f3618ea9b3b8977f33f8e7.zip
ARM: pxa: hx4700: fix the usb client
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>
-rw-r--r--arch/arm/mach-pxa/hx4700.c4
1 files changed, 4 insertions, 0 deletions
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();
}