Details
[Home]
Issue of the Implementation # L0269
Brief
usb: gadget: mv_u3d: fix error handling in mv_u3d_probe()
Detailed Description
There are several inconsistencies in the error handling code.
- If clk_get() fails, it goes to clk_put().
- If pdata->phy_init() fails, it does not disable u3d->clk.
- In case of failure after stopping u3d, it does pdata->phy_deinit() and clk_disable(u3d->clk) twice.
- It ignores failures in clk_enable().
Component
linux-kernel 4.11
Accepted
https://patchwork.kernel.org/patch/9657299/
commit
Status
Fixed in kernel v4.12-rc1
List of traces
[Home]
»