]> asedeno.scripts.mit.edu Git - linux.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)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jul 2017 16:41:37 +0000 (17:41 +0100)
commit4ebb9d7f901027e1740f69829cf10af0193e8e17
tree44270a141a032dd2184109271687cb48e6dfb9c7
parent8d67f64f7739464c352d4b167ed1748f3b2c1f44
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