[PATCH v2 07/25] usb: ehci-pci: Support Intel Medfield Platform USB OTG Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch enables EHCI USB host function for Intel Medfield
Platform USB OTG host function.

Signed-off-by: Hao Wu <hao.wu@xxxxxxxxx>
---
 drivers/usb/host/ehci-hcd.c |    2 +-
 drivers/usb/host/ehci-pci.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index b5dd3ad..658ee06 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -1156,7 +1156,7 @@ MODULE_LICENSE ("GPL");
 #ifdef CONFIG_PCI
 #include "ehci-pci.c"
 #define	PCI_DRIVER		ehci_pci_driver
-#ifdef CONFIG_USB_LANGWELL_OTG
+#if defined(CONFIG_USB_LANGWELL_OTG) || defined(CONFIG_USB_PENWELL_OTG)
 #include "ehci-intel-mid-pci.c"
 #define INTEL_MID_OTG_HOST_DRIVER	ehci_otg_driver
 #endif
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index a7d15ac..c421608 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -98,8 +98,8 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
 		}
 		break;
 	case PCI_VENDOR_ID_INTEL:
-		if (pdev->device == 0x0811) {
-			ehci_info(ehci, "Detected Langwell OTG HC\n");
+		if (pdev->device == 0x0811 || pdev->device == 0x0829) {
+			ehci_info(ehci, "Detected Intel MID OTG HC\n");
 			hcd->has_tt = 1;
 			ehci->has_hostpc = 1;
 			force_otg_hc_mode = 1;
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux