Files
u-boot/drivers
Maksim Kiselev 0755db477f clk: use private clk struct in CLK_CCF's enable/disable functions
In clk_enable()/clk_disable() functions, when CCF is activated,
we must pass a private clk struct to enable()/disable() ops functions.
Otherwise, the use of a container_of() construction within these ops
should be banned. Because passing a non-private clk struct to
container_of() results in an out of range error.

At the moment, clk-mux, clk-fixed-factor, clk-gate and possibly other
clocks use container_of() in their enable()/disable() functions.
Therefore, for these functions to work correclty, private clk struct
must be passed.

Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20230905221649.3577929-1-bigunclemax@gmail.com
2023-11-01 15:14:09 -04:00
..
2023-05-02 14:23:58 -04:00
2023-10-11 10:35:24 -04:00
2023-03-02 17:45:58 -05:00
2023-10-22 23:40:56 +01:00
2023-10-24 17:05:24 -04:00
2023-01-20 12:27:24 -05:00
2023-04-25 15:31:28 -04:00