]> git.baikalelectronics.ru Git - 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)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jul 2017 16:41:37 +0000 (17:41 +0100)
commit556a1049b40e8c35dbcb5148e151f0ed88f298f2
tree44270a141a032dd2184109271687cb48e6dfb9c7
parentd0d99816f40d313c45b8803dc7fa1ff2eadc50d4
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: 86af6f35d5e1 ("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