]> git.baikalelectronics.ru Git - kernel.git/commit
usb: ehci-s5p: fix memleak when fallback to pdata
authorLibo Chen <chenlibo.3@gmail.com>
Thu, 9 May 2013 04:58:08 +0000 (12:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:35:13 +0000 (17:35 -0700)
commit9b35fe03e58497f92edc9bbff496e819e0ef731b
tree5dff9bba5ce0d3040a3f72f439575f14611ef886
parent0a698772460a312ac86376d9433b64a21836bdbb
usb: ehci-s5p: fix memleak when fallback to pdata

When devm_usb_get_phy fail, we should free hcd

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-s5p.c