aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-04-04 09:07:46 +0000
committerMark Brown <[email protected]>2022-04-05 10:33:44 +0100
commit8ba08d3a367a70f707b7c5d53ad92b98b960ee88 (patch)
treedad2f403606ba2fee2c0c7554e754890b2839be1 /lib/mpi/mpi-sub-ui.c
parent0b3d5d2e358ca6772fc3662fca27acb12a682fbf (diff)
ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
We need to call clk_put() to undo clk_get() in the error path. Use devm_clk_get() to obtain a reference to the clock, It has the benefit that clk_put() is no longer required. Fixes: 0d6a04da9b25 ("ASoC: Add Rockchip rk817 audio CODEC support") Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions