]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:24:28 +0000 (14:24 +0100)
commitd5392fee35137b24b3011524768cb9dcf1e801b4
tree79afb052fae0c6f1afbfe31bb8ede138ec2e747a
parent489f016f9c5e3b7135ccbeda7f44313f561e7534
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}

BugLink: https://bugs.launchpad.net/bugs/1908561
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
drivers/regulator/pfuze100-regulator.c