aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorMoiz Sonasath <m-sonasath@ti.com>2012-09-05 08:34:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 09:47:39 -0700
commitd8ec66c5a565c5ca47d2740226f3e2035c1883bf (patch)
tree23db509d56df832b333b9511e32b6b949add5247 /drivers/usb/host/xhci-ring.c
parentb1e81baa2d46338345c6f16c0e873ef3e7d73188 (diff)
downloadkernel_samsung_smdk4412-d8ec66c5a565c5ca47d2740226f3e2035c1883bf.zip
kernel_samsung_smdk4412-d8ec66c5a565c5ca47d2740226f3e2035c1883bf.tar.gz
kernel_samsung_smdk4412-d8ec66c5a565c5ca47d2740226f3e2035c1883bf.tar.bz2
usb: host: xhci: fix compilation error for non-PCI based stacks
commit 296365781903226a3fb8758901eaeec09d2798e4 upstream. For non PCI-based stacks, this function call usb_disable_xhci_ports(to_pci_dev(hcd->self.controller)); made from xhci_shutdown is not applicable. Ideally, we wouldn't have any PCI-specific code on a generic driver such as the xHCI stack, but it looks like we should just stub usb_disable_xhci_ports() out for non-PCI devices. [ balbi@ti.com: slight improvement to commit log ] This patch should be backported to kernels as old as 3.0, since the commit it fixes (e95829f474f0db3a4d940cae1423783edd966027 "xhci: Switch PPT ports to EHCI on shutdown.") was marked for stable. Signed-off-by: Moiz Sonasath<m-sonasath@ti.com> Signed-off-by: Ruchika Kharwar <ruchika@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions