Files
linux/drivers/clk
Robert Hancock 51b52cf354 clk: si5341: Fix clock HW provider cleanup
commit 49a8f2bc8d upstream.

The call to of_clk_add_hw_provider was not undone on remove or on probe
failure, which could cause an oops on a subsequent attempt to retrieve
clocks for the removed device. Switch to the devm version of the
function to avoid this issue.

Fixes: 3044a860fd ("clk: Add Si5341/Si5340 driver")
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Link: https://lore.kernel.org/r/20220112203816.1784610-1-robert.hancock@calian.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 10:54:31 +01:00
..
2022-01-27 10:54:04 +01:00
2018-12-11 09:57:47 -08:00
2020-12-30 11:53:42 +01:00