Hi,

On Fri, 08 Aug 2025 10:34:43 +0100, Andrew Goodbody wrote:
> In meson_pwm_probe the for loop attempts to get the name of a clock but
> the following if..else statements only perform useful work if -ENODATA
> is returned from clk_get_by_name. If clk_get_by_name simply succeeds
> then this results in a premature exit from the for loop and the
> following code can never be reached. Make the else clause only apply for
> an error return from clk_get_by_name.
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic 
(u-boot-amlogic-next)

[1/1] pwm: meson: Stop premature exit from for loop
      
https://source.denx.de/u-boot/custodians/u-boot-amlogic/-/commit/dfa8b39a6addc09697399c5204766958eb0dfb51

-- 
Neil

Reply via email to