[PATCH] regulator: fixed: fix regulator-fixed-clock

Tom Rini trini at konsulko.com
Fri Sep 6 18:34:13 CEST 2024


On Tue, 09 Jul 2024 10:24:54 +0100, John Keeping wrote:

> For regulator-fixed-clock, the device's private data is never set so in
> fixed_clock_regulator_set_enable() is null and the function cannot
> complete successfully.
> 
> Rename the _plat structure to _priv to better represent its role and set
> this as the private data.  As shown by the set_enable() function and by
> using the same .of_to_plat hook as regulator-fixed, the platform data is
> regulator_common_plat so also set .plat_auto correctly.
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list