aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorRobert Hancock <[email protected]>2022-01-12 20:38:16 +0000
committerStephen Boyd <[email protected]>2022-01-13 21:20:54 +0000
commit49a8f2bc8d88702783c7e163ec84374e9a022f71 (patch)
tree22d34841f83737f4f4e12a2ad8e1a30fb1846134 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentMerge branches 'clk-ingenic' and 'clk-mediatek' into clk-next (diff)
downloadkernel-49a8f2bc8d88702783c7e163ec84374e9a022f71.tar.gz
kernel-49a8f2bc8d88702783c7e163ec84374e9a022f71.zip
clk: si5341: Fix clock HW provider cleanup
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: 3044a860fd09 ("clk: Add Si5341/Si5340 driver") Signed-off-by: Robert Hancock <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions