diff options
author | Yang Xiwen <forbidden405@outlook.com> | 2023-11-19 06:10:06 +0800 |
---|---|---|
committer | Sean Anderson <seanga2@gmail.com> | 2023-12-15 12:31:47 -0500 |
commit | 3fb2d3d6acbaad50d2e638f6abb4e9d7a511c462 (patch) | |
tree | 63128a6567e6ac39a9281e6c98b2e5d9c0b7759e /drivers/clk/clk-composite.c | |
parent | 09844d0de5550e7f91246031220074a80b5a821a (diff) |
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 <forbidden405@outlook.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20231111-enable_count-v2-2-20e3728600b5@outlook.com
Diffstat (limited to 'drivers/clk/clk-composite.c')
0 files changed, 0 insertions, 0 deletions