]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
regulator: cpcap: Fix standby mode
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 10 Jul 2017 14:33:39 +0000 (16:33 +0200)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 28 Sep 2017 14:34:54 +0000 (10:34 -0400)
commit9b1b29025ce156929f92de132463c42ef5deb43b
treee0c890a3d248d7eb4ecc79c5a3ce964ed86907bd
parent0e8e274db58a45c257bd63a53c4706d6b487bfd8
regulator: cpcap: Fix standby mode

BugLink: http://bugs.launchpad.net/bugs/1720154
commit 91a024e80336528d12b67b5a2e636b9e4467d3ec upstream.

The original patch from Tony uses standby mode bit inverted, which is
not correct. This fixes all instances in the driver code for get & set
mode. This did not yet make problems, since mode has not been changed
by any mainline driver so far.

Fixes: 0ad4c07edd41 ("regulator: cpcap: Add basic regulator support")
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/regulator/cpcap-regulator.c