diff options
author | Vivek Gautam | 2013-01-25 05:22:02 -0600 |
---|---|---|
committer | Somnath Mukherjee | 2013-08-09 08:39:23 -0500 |
commit | 63a9a99e062a2994779dc1d21d1be579987951c4 (patch) | |
tree | d3b6d0408efb9c1b8a788c129050bae7f0d4853c | |
parent | fca727e66070b18b2fce6922efdf48cb61e01720 (diff) | |
download | kernel-audio-63a9a99e062a2994779dc1d21d1be579987951c4.tar.gz kernel-audio-63a9a99e062a2994779dc1d21d1be579987951c4.tar.xz kernel-audio-63a9a99e062a2994779dc1d21d1be579987951c4.zip |
usb: dwc3: host: Change platform device ID for xhci-hcd to AUTO
Multiple dwc3 controllers will try to allocate multiple xhci-hcd
interfaces.
Changing platform device IDs from NONE to AUTO to support
such cases.
upstream-status:: https//git.kernel.org/cgit/linux/kernel/git/torvalds/
linux.git/commit/?id=52758bcb7c12bede2a81849dee13f1edcd44e1c1
Change-Id: Iaaf38e258c28ead10cff51b993f378a6fc3f5679
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
-rw-r--r-- | drivers/usb/dwc3/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c index 56a62342884d..0fa1846eda4c 100644 --- a/drivers/usb/dwc3/host.c +++ b/drivers/usb/dwc3/host.c | |||
@@ -44,7 +44,7 @@ int dwc3_host_init(struct dwc3 *dwc) | |||
44 | struct platform_device *xhci; | 44 | struct platform_device *xhci; |
45 | int ret; | 45 | int ret; |
46 | 46 | ||
47 | xhci = platform_device_alloc("xhci-hcd", -1); | 47 | xhci = platform_device_alloc("xhci-hcd", PLATFORM_DEVID_AUTO); |
48 | if (!xhci) { | 48 | if (!xhci) { |
49 | dev_err(dwc->dev, "couldn't allocate xHCI device\n"); | 49 | dev_err(dwc->dev, "couldn't allocate xHCI device\n"); |
50 | ret = -ENOMEM; | 50 | ret = -ENOMEM; |