]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: exynos-acpm: silence EPROBE_DEFER error on boot
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 19 Mar 2025 05:38:24 +0000 (05:38 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 22 Apr 2025 07:48:31 +0000 (09:48 +0200)
commit53734383a73888e6d765aa07f4523802fdf1ee10
tree2c54bd4e9bf8069fc2dc742a082f49966858da22
parent67af3cd813695fd3e6432b0849c453250c4685aa
firmware: exynos-acpm: silence EPROBE_DEFER error on boot

This driver emits error messages when client drivers are trying to get
an interface handle to this driver here before this driver has
completed _probe().

Given this driver returns -EPROBE_DEFER in that case, this is not an
error and shouldn't be emitted to the log, similar to how
dev_err_probe() behaves, so just remove them.

This change also allows us to simplify the logic around releasing of
the acpm_np handle.

Fixes: a88927b534ba ("firmware: add Exynos ACPM protocol driver")
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250319-acpm-fixes-v2-2-ac2c1bcf322b@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/firmware/samsung/exynos-acpm.c