summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2012-08-19 21:54:58 +0200
committerFelipe Balbi <balbi@ti.com>2012-09-06 19:52:25 +0300
commit1b68a4ca2d038addb7314211d122fb6d7002b38b (patch)
tree0ea5ab61eab6fca740a9515fda012732169af541 /drivers/usb/host
parentc8e6507bdec67f1c50390a69a14568c5115cc658 (diff)
downloadlinux-1b68a4ca2d038addb7314211d122fb6d7002b38b.tar.bz2
usb: gadget: dummy_hcd: fixup error probe path
If USB2 host controller probes fine but USB3 does not then we don't remove the USB controller properly and lock up the system while the HUB code will try to enumerate the USB2 controller and access memory which is no longer available in case the dummy_hcd was compiled as a module. This is a problem since 448b6eb1 ("USB: Make sure to fetch the BOS desc for roothubs.) if used in USB3 mode because dummy does not provide this descriptor and explodes later. Cc: stable@vger.kernel.org # v3.5 Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions