]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: fix resource leak in xhci power loss path
authorOliver Neukum <oneukum@suse.de>
Thu, 10 May 2012 08:19:21 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:18:23 +0000 (15:18 +0800)
commit61fb50b8328e61b6038d99c6333a60b5b02328d8
tree12051b4d8f71450cdb2a710de5e45676d756d541
parent587c53c66ccee465f78d4d23c75aa9e4899597af
USB: fix resource leak in xhci power loss path

commit f8a9e72d125f4e00ec529ba67b674321a1f3bf31 upstream.

Some more data structures must be freed and counters
reset if an XHCI controller has lost power. The failure
to do so renders some chips inoperative after a certain number
of S4 cycles.

This patch should be backported to kernels as old as 3.2,
that contain the commits c29eea621900f18287d50519f72cb9113746d75a
"xhci: Implement HS/FS/LS bandwidth checking." and
commit 839c817ce67178ca3c7c7ad534c571bba1e69ebe
"xhci: Implement HS/FS/LS bandwidth checking."

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c