summaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-08-04 14:20:15 +0000
committerLuka Perkov <luka@openwrt.org>2013-08-04 14:20:15 +0000
commitf5b9555cdc26534b6a107ef6c27440b21e1f1e0e (patch)
tree2067c2a87be96f9c08153cfe537e21f07eb6d07b /target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch
parentdb083a41cf533818ac9a3d0f0715981f9d47508f (diff)
downloadmaster-31e0f0ae-f5b9555cdc26534b6a107ef6c27440b21e1f1e0e.tar.gz
master-31e0f0ae-f5b9555cdc26534b6a107ef6c27440b21e1f1e0e.tar.bz2
master-31e0f0ae-f5b9555cdc26534b6a107ef6c27440b21e1f1e0e.zip
imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37686
Diffstat (limited to 'target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch')
-rw-r--r--target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch b/target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch
new file mode 100644
index 0000000000..9d922536eb
--- /dev/null
+++ b/target/linux/imx6/patches-3.10/0003-usb-chipidea-enable-to-build-host-support-as-module.patch
@@ -0,0 +1,26 @@
+From f51ac206b1ca27d240fe7fde6975496d558f51df Mon Sep 17 00:00:00 2001
+From: Luka Perkov <luka@openwrt.org>
+Date: Sun, 4 Aug 2013 03:10:59 +0200
+Subject: [PATCH] usb: chipidea: enable to build host support as module
+
+USB_CHIPIDEA_HOST does not need to depend on USB=y, USB_CHIPIDEA_HOST will work
+just fine even if USB=m is used. The depends line can be safely removed since
+USB_CHIPIDEA already depends on USB.
+
+Tested on Gateworks imx6 Ventana board (gw-5400-a).
+
+Signed-off-by: Luka Perkov <luka@openwrt.org>
+---
+ drivers/usb/chipidea/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/drivers/usb/chipidea/Kconfig
++++ b/drivers/usb/chipidea/Kconfig
+@@ -19,7 +19,6 @@ config USB_CHIPIDEA_UDC
+
+ config USB_CHIPIDEA_HOST
+ bool "ChipIdea host controller"
+- depends on USB=y
+ depends on USB_EHCI_HCD=y || (USB_CHIPIDEA=m && USB_EHCI_HCD=m)
+ select USB_EHCI_ROOT_HUB_TT
+ help