]> Git Repo - u-boot.git/commit
clk: get correct ops for clk_enable() and clk_disable()
authorYang Xiwen <[email protected]>
Sat, 18 Nov 2023 22:10:06 +0000 (06:10 +0800)
committerSean Anderson <[email protected]>
Fri, 15 Dec 2023 17:31:47 +0000 (12:31 -0500)
commit3fb2d3d6acbaad50d2e638f6abb4e9d7a511c462
tree63128a6567e6ac39a9281e6c98b2e5d9c0b7759e
parent09844d0de5550e7f91246031220074a80b5a821a
clk: get correct ops for clk_enable() and clk_disable()

assign clk_dev_ops(clkp->dev) to ops to ensure correct clk operations
are called on clocks.

This fixes the incorrect enable_count issue as described in [1].

[1]: https://lore.kernel.org/all/SEZPR06MB695927A6DEEEF8489A06897396A7A@SEZPR06MB6959.apcprd06.prod.outlook.com/

Signed-off-by: Yang Xiwen <[email protected]>
Reviewed-by: Sean Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
drivers/clk/clk-uclass.c
This page took 0.033624 seconds and 4 git commands to generate.