diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-28 17:23:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-29 17:52:55 +0000 |
commit | 742a73259d2d07ad6870736749aa8d6821ed96d9 (patch) | |
tree | 611eec8737682846eecd01c2049b30513d561aba /lib/mpi/mpi-bit.c | |
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>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions