]> 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)
commit506e78c59d34a080881cb111e1e6e0d59b4c3df0
tree44270a141a032dd2184109271687cb48e6dfb9c7
parentf7360dc80883c9a4c8889ce306e551f06c05b5d3
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: 1af475c192a3 ("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