regulator: ltc3589: fix broken voltage transitions
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Thu, 25 Sep 2014 14:39:11 +0000 (16:39 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 26 Sep 2014 08:22:50 +0000 (09:22 +0100)
commitc5bb725ac2d1a13e9e766bf9a16bac986ade17cd
tree19ef6310d6ca31ad0d16e4c17d58fbe0c2f62e33
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
regulator: ltc3589: fix broken voltage transitions

VCCR is used as a trigger to start voltage transitions, so
we need to mark it volatile in order to make sure it gets
written to hardware every time we set a new voltage.

Fixes regulator voltage being stuck at the first voltage
set after driver load.

[lst: reworded commit message]
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/regulator/ltc3589.c