regulator: cpcap: Fix standby mode
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 10 Jul 2017 14:33:39 +0000 (16:33 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 11:12:58 +0000 (12:12 +0100)
commit91a024e80336528d12b67b5a2e636b9e4467d3ec
tree9947cedd4d0fc53ffdf430d4cf0fe0bc06e4c11b
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
regulator: cpcap: Fix standby mode

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>
Cc: stable@vger.kernel.org
drivers/regulator/cpcap-regulator.c