]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: check that dummy regulator has been probed before using it
authorChristian Eggers <ceggers@arri.de>
Thu, 13 Mar 2025 10:27:39 +0000 (11:27 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 13 Mar 2025 12:46:17 +0000 (12:46 +0000)
commit2c7a50bec4958f1d1c84d19cde518d0e96a676fd
tree3032617b91bac5bbeff9ae83cbbe4d46a129fa07
parent8619909b38eeebd3e60910158d7d68441fc954e9
regulator: check that dummy regulator has been probed before using it

Due to asynchronous driver probing there is a chance that the dummy
regulator hasn't already been probed when first accessing it.

Cc: stable@vger.kernel.org
Signed-off-by: Christian Eggers <ceggers@arri.de>
Link: https://patch.msgid.link/20250313103051.32430-3-ceggers@arri.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c