author | Dan Murphy <DMurphy@ti.com> | |
Tue, 26 May 2015 13:23:32 +0000 (08:23 -0500) | ||
committer | Dan Murphy <DMurphy@ti.com> | |
Tue, 26 May 2015 13:23:32 +0000 (08:23 -0500) |
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-3.14.y
* 'connectivity-ti-linux-3.14.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
usb: host: xhci-pci: Fix NULL pointer dereference error
ti_config_fragments/connectivity.cfg: disable CONFIG_USB_OTG_WHITELIST
Signed-off-by: Dan Murphy <DMurphy@ti.com>
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-3.14.y
* 'connectivity-ti-linux-3.14.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
usb: host: xhci-pci: Fix NULL pointer dereference error
ti_config_fragments/connectivity.cfg: disable CONFIG_USB_OTG_WHITELIST
Signed-off-by: Dan Murphy <DMurphy@ti.com>
drivers/usb/host/xhci-pci.c | patch | blob | history | |
drivers/usb/host/xhci.c | patch | blob | history | |
ti_config_fragments/connectivity.cfg | patch | blob | history |
index 11f16cbaa4fdbd77b1b81ab115025da078cf55af..67b952971c1b6d469036c268d0c19581beaec258 100644 (file)
/* USB 2.0 roothub is stored in the PCI device now. */
hcd = dev_get_drvdata(&dev->dev);
xhci = hcd_to_xhci(hcd);
- xhci->main_hcd = hcd;
xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev,
pci_name(dev), hcd);
if (!xhci->shared_hcd) {
index 397c0dddafcc1641a1f5ff3a817361ad900b238c..b14f57202bb70eb2cd3480a602cda85d60829159 100644 (file)
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
*/
hcd->speed = HCD_USB2;
hcd->self.root_hub->speed = USB_SPEED_HIGH;
+ xhci->main_hcd = hcd;
/*
* USB 2.0 roothub under xHCI has an integrated TT,
* (rate matching hub) as opposed to having an OHCI/UHCI
index 883e192d5c027823caa63ed43d6ad1401f998178..00b99126cce433b3502094d0e2b7681c564b3abb 100644 (file)
#USB OTG
CONFIG_USB_OTG=y
+CONFIG_USB_OTG_WHITELIST=n
#USB MUSB support
CONFIG_USB_MUSB_HDRC=m