On Mon, 4 Jan 2016, Jia-Ju Bai wrote:
> The driver calls ehci_mem_init to allocate memory resources.
> But these resources are not freed when ehci_halt fails.
>
> This patch adds "ehci_mem_cleanup" in error handling code to fix this problem.
>
> Signed-off-by: Jia-Ju Bai
> ---
> drivers/usb/h
The driver calls ehci_mem_init to allocate memory resources.
But these resources are not freed when ehci_halt fails.
This patch adds "ehci_mem_cleanup" in error handling code to fix this problem.
Signed-off-by: Jia-Ju Bai
---
drivers/usb/host/ehci-hcd.c |4 +++-
1 file changed, 3 insertion