git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac5308
)
usb: xhci: Allow usb_add/remove_hcd() to be called repeatedly
author
Roger Quadros
<rogerq@ti.com>
Fri, 29 May 2015 14:01:48 +0000
(17:01 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 31 May 2015 06:45:31 +0000
(15:45 +0900)
Don't set xhci->shared_hcd to NULL in xhci_stop() as we have
still not de-allocated it. It was resulting in a NULL pointer
de-reference if usb_add/remove_hcd() is called repeatedly.
We want repeated add/remove to work for the OTG use case.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c
patch
|
blob
|
history
diff --cc
drivers/usb/host/xhci.c
Simple merge