[PATCH v3] staging: media: meson: vdec: propagate devm_clk_get() errors

Dan Carpenter error27 at gmail.com
Thu Jul 16 22:51:32 PDT 2026


On Fri, Jul 17, 2026 at 08:35:58AM +0530, Alfie Varghese wrote:
> vdec_probe() hardcodes -EPROBE_DEFER for all devm_clk_get() failures.
> This masks the actual error code returned by the clock framework, such
> as -ENOENT when a clock is not registered or -ENOMEM on allocation
> failure.
> 
> Return PTR_ERR() instead to propagate the real error to the caller.
> 
> Reviewed-by: Dan Carpenter <error27 at gmail.com>
> Signed-off-by: Alfie Varghese <alfievarghese22 at gmail.com>
> ---

There is supposed to be a note here under the --- cut off line which
says what changed.  Did you resend just to add my Reviewed-by line?

No need for that.

regards,
dan carpenter




More information about the linux-amlogic mailing list