generic: backport dwc2 kernel panic fix
authorMathias Kresin <dev@kresin.me>
Thu, 29 Dec 2016 20:47:54 +0000 (21:47 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 2 Jan 2017 18:16:54 +0000 (19:16 +0100)
commitb35a41c139ec995e1d3096ce962f020053f3056e
tree6dd920956c2e873fcde84c4538528d15ce54ed8d
parentb28e94d4bfa1f81219765fc395e63ca81badd8df
generic: backport dwc2 kernel panic fix

In case the soft reset in dwc2_core_reset() timeouts, the
hsotg->core_params are freed albeit it is owned by the core. This
results into a kernel panic as shown in FS#351.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/generic/patches-4.4/098-usb-dwc2-Remove-unnecessary-kfree.patch [new file with mode: 0644]