]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Sep 2017 12:43:14 +0000 (14:43 +0200)
commit89abd3f20bb303b244141830dfb8584991a844d9
tree21bb145e946b82d4ddf91ac7d5878950c040fe19
parent1e1dfb8b19fd405f6dd05fedf5c9622c64410d8d
regulator: cpcap: Fix standby mode

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>
drivers/regulator/cpcap-regulator.c