]> git.baikalelectronics.ru Git - kernel.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)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 18 May 2012 22:41:39 +0000 (15:41 -0700)
commitafd53bb3bbbadcd850be3630274852a86ff5f031
treeec793976b925ecb2d5678ae0043d7a274b669ff6
parentfb5d0b1d9dfce95a01127f934f830c2ee7e973ff
USB: fix resource leak in xhci power loss path

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 0131e23ecd42a334b2a57d250bf1f5b5684c7c4e
"xhci: Implement HS/FS/LS bandwidth checking." and
commit 2a82167efed092ad62554b5cbf6c2a3540c65b19
"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>
Cc: stable@vger.kernel.org
drivers/usb/host/xhci-mem.c