diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2014-12-11 18:14:18 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-12-22 10:36:24 -0600 |
commit | 68693b8ea4e284c46bff919ac62bd9ccdfdbb6ba (patch) | |
tree | a8c9f2d44f57b3d1fd689b2ac6494e7cb55d36cd /Documentation/digsig.txt | |
parent | 62f4f0651ce8ef966a0e5b6db6a7a524c268fdd2 (diff) |
usb: musb: stuff leak of struct usb_hcd
since the split of host+gadget mode in commit 74c2e9360058 ("usb: musb:
factor out hcd initalization") we leak the usb_hcd struct. We call now
musb_host_cleanup() which does basically usb_remove_hcd() and also sets
the hcd variable to NULL. Doing so makes the finall call to
musb_host_free() basically a nop and the usb_hcd remains around for ever
without anowner.
This patch drops that NULL assignment for that reason.
Fixes: 74c2e9360058 ("usb: musb: factor out hcd initalization")
Cc: <stable@vger.kernel.org> # v3.11+
Cc: Daniel Mack <zonque@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/digsig.txt')
0 files changed, 0 insertions, 0 deletions