]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: syscon: Return -EPROBE_DEFER if the syscon is not found
authorDan Carpenter <dan.carpenter@linaro.org>
Sun, 2 Nov 2025 11:59:22 +0000 (14:59 +0300)
committerLee Jones <lee@kernel.org>
Thu, 13 Nov 2025 14:32:39 +0000 (14:32 +0000)
commitb73d5593bfde6bf570d55bcff3576e35cdf4ec9a
tree8da96f93d53faf126bee07eca7490f2d5ed95d55
parent30ed024fb0768e9353f21d1d9e6960b7028acdfa
mfd: syscon: Return -EPROBE_DEFER if the syscon is not found

These days we can register syscons with of_syscon_register_regmap() so
when we can't find the syscon that probably means it hasn't been
registered yet.  Return -EPROBE_DEFER so the driver will try probing
again.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Chen-Yu Tsai <wens@kernel.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/aQdHmrchkmOr34r3@stanley.mountain
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/syscon.c