Re: [PATCH] pwm: meson: Stop premature exit from for loop

2025-09-04 Thread Neil Armstrong
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 resul

Re: [PATCH] pwm: meson: Stop premature exit from for loop

2025-09-04 Thread Neil Armstrong
On 08/08/2025 11:34, 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 fro

[PATCH] pwm: meson: Stop premature exit from for loop

2025-08-08 Thread Andrew Goodbody
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 neve