commit | 742a73259d2d07ad6870736749aa8d6821ed96d9 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Mar 28 17:23:00 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Mar 29 17:52:55 2013 +0000 |
tree | 611eec8737682846eecd01c2049b30513d561aba | |
parent | da0b0c47dcfd92317e2ece4c3434e1f82b55cf8a [diff] |
regulator: ab8500: Update info->update_val only when successfully update register Don't update info->update_val if write to the register fails. 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>