]> git.ipfire.org Git - thirdparty/linux.git/commit
regulator: fp9931: Fix handling of mandatory "vin" supply
authorRobby Cai <robby.cai@nxp.com>
Fri, 13 Mar 2026 13:31:02 +0000 (21:31 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 17 Mar 2026 18:07:36 +0000 (18:07 +0000)
commit58068932402c7f5bf26489e01ae8e8bb89802d1e
tree343bc5c6c618fc87aa5ee3a67ed9dd368f130e19
parentd342f5e355aaa4ff4fb5bd4a4aab70ed3a4f3c35
regulator: fp9931: Fix handling of mandatory "vin" supply

The FP9931 requires a mandatory "vin" power supply to operate.
Replace devm_regulator_get_optional() with devm_regulator_get() to
enforce this mandatory dependency.

Fixes: 12d821bd13d42 ("regulator: Add FP9931/JD9930 driver")
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Link: https://patch.msgid.link/20260313133102.2749890-3-robby.cai@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fp9931.c