Re: [PATCH] staging: media: meson: vdec: propagate devm_clk_get() errors
From: Dan Carpenter
Date: Tue Jul 14 2026 - 03:07:12 EST
On Mon, Jul 13, 2026 at 10:46:44PM +0530, Alfie Varghese wrote:
> vdec_probe() maps any devm_clk_get() failure to -EPROBE_DEFER. This is
> incorrect because devm_clk_get() can fail with other error codes like
> -ENOMEM or -ENOENT (clock not registered). Hardcoding -EPROBE_DEFER
> masks these real errors, causing the driver core to retry probing
> indefinitely instead of failing early.
It will not keep retrying "indefinitely". -EPROBE_DEFER handling
is smarter than that. Fix the misleading commit message and add
a Fixes tag.
regards,
dan carpenter