summaryrefslogtreecommitdiff
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2023-05-22 19:03:22 +0200
committerVinod Koul <vkoul@kernel.org>2023-07-12 22:27:41 +0530
commitb43511233c6e34b9c0d9a55e41b078d10e7d9ea6 (patch)
tree624bec2f12ec763d23945a0fdd14c243e15a51ae /kernel/dma.c
parent5ae6224bb1cd948dad751016d1dfc4196e628eeb (diff)
downloadlwn-b43511233c6e34b9c0d9a55e41b078d10e7d9ea6.tar.gz
lwn-b43511233c6e34b9c0d9a55e41b078d10e7d9ea6.zip
phy: phy-rockchip-inno-usb2: simplify phy clock handling
Simplify phyclk handling by using devm_clk_get_optional_enabled to acquire and enable the optional clock. This also fixes a resource leak in driver remove path and adds proper error handling. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Link: https://lore.kernel.org/r/20230522170324.61349-6-sebastian.reichel@collabora.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions