]> git.baikalelectronics.ru Git - kernel.git/commit
usb: chipidea: Fix memleak for ci->hw_bank.regmap when removal
authorPeter Chen <peter.chen@freescale.com>
Tue, 17 Sep 2013 04:37:21 +0000 (12:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:30:29 +0000 (17:30 -0700)
commit35140bc9895cfc6e46226cbb62b4b07fbf72d167
tree31dd485c2272014fccc000be16dc59fc7e4c85ae
parent18dd5d29ba55fb6acff6806952386e4adcaf2ea7
usb: chipidea: Fix memleak for ci->hw_bank.regmap when removal

It needs to free ci->hw_bank.regmap explicitly since it is not managed
resource.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c