]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}
authorSean Nyekjaer <sean@geanix.com>
Tue, 10 Nov 2020 17:41:13 +0000 (18:41 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Nov 2020 12:34:27 +0000 (12:34 +0000)
commit99798ca4cb957ddfa88c516c25a1548c6245912f
tree58f2e12e6423523eb015ebab99919b3ea6675a09
parent08d54179f6afd0054b4d411799ab1d7c222eb2ad
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}

Limit the fsl,pfuze-support-disable-sw to the pfuze100 and pfuze200
variants.
When enabling fsl,pfuze-support-disable-sw and using a pfuze3000 or
pfuze3001, the driver would choose pfuze100_sw_disable_regulator_ops
instead of the newly introduced and correct pfuze3000_sw_regulator_ops.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Fixes: ca95e18465f4 ("regualtor: pfuze100: correct sw1a/sw2 on pfuze3000")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201110174113.2066534-1-sean@geanix.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pfuze100-regulator.c