Patchwork [1/2] UBUNTU: [Config] omap: enforce USB_[EHCI|OHCI]_HCD_PLATFORM=n

login
register
mail settings
Submitter Paolo Pisati
Date Oct. 18, 2012, 4:32 p.m.
Message ID <1350577954-24333-2-git-send-email-paolo.pisati@canonical.com>
Download mbox | patch
Permalink /patch/192383/
State New
Headers show

Comments

Paolo Pisati - Oct. 18, 2012, 4:32 p.m.
BugLink: http://bugs.launchpad.net/bugs/1061599

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Andy Whitcroft <andy.whitcroft@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 debian.master/config/enforce |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index 32db22d..d6f2a8f 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -116,3 +116,7 @@  value CONFIG_AUDIT_LOGINUID_IMMUTABLE n
 (flavour highbank &/ value CONFIG_I2C_DESIGNWARE_PLATFORM y) | \
 value CONFIG_I2C_DESIGNWARE_PLATFORM m | \
 !exists CONFIG_I2C_DESIGNWARE_PLATFORM
+
+# Don't use the generic ehci/ohci code on omap, it doesn't work
+((flavour omap &/ value CONFIG_USB_EHCI_HCD_PLATFORM n & value CONFIG_USB_OHCI_HCD_PLATFORM n) | \
+	!exists MISSING)