Details

[Home]

Issue of the Implementation # L0307

Brief

usb: dwc3: missing clk_disable_unprepare in dwc3_of_simple_clk_init

Detailed Description

If of_clk_get() fails, the clean-up of already initialized clocks should be the same as when clk_prepare_enable() fails. Thus a clk_disable_unprepare() for each clock should be called before the clk_put().

Component

linux-kernel 4.14

Accepted

https://patchwork.kernel.org/patch/10098333
commit

Status

Fixed in kernel v4.15-rc4

[Home]