]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:27:25 +0000 (13:27 +0100)
commit8f1f52f659b9e0b13bd2202fa7a558adc3b3994e
tree456d0cf359177e7f5d9261cba10e43da7341fbcd
parent03fe4c08801afb39635ff44783d22d0b375962aa
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}

commit 365ec8b61689bd64d6a61e129e0319bf71336407 upstream.

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: 6f1cf5257acc ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/pfuze100-regulator.c