commit | f04adc5ab3b70ad9b7d17d6a6fc2113669134a4d | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Apr 09 20:15:06 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Apr 17 15:08:22 2013 +0100 |
tree | e2d2abca0f6de8060440b49799de66c448d0325b | |
parent | 241896ce8d112f10dae5538be41fad9eeb9e5e46 [diff] |
regulator: ab8500: Don't update info->update_val if write to register fails This patch ensures info->update_val is consistent with current register value. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>