]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: core: Allow dummy regulators for supplies
authorMark Brown <broonie@kernel.org>
Tue, 11 Apr 2017 20:31:40 +0000 (21:31 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 14 Apr 2017 17:08:01 +0000 (18:08 +0100)
commitc93609ab3924cc974fc90001fb6aa250a8900a3c
treeaddfda28969852502bfae40fe6f64669b9bb4914
parent43fc99f293cc802866bea904ca2f1f8573f236f7
regulator: core: Allow dummy regulators for supplies

Rather than just not resolving the supply when there is explicitly no
supply mapping fall through and allow a dummy supply to be substituted.
This fixes issues with constant retries reported by Dong Aisheng.

Signed-off-by: Mark Brown <broonie@kernel.org>
Tested-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
drivers/regulator/core.c