diff options
author | Axel Lin <[email protected]> | 2013-04-16 23:29:12 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-04-17 15:08:33 +0100 |
commit | 66511fa4a7902fb9ffdffc8c153f1758817fb8a4 (patch) | |
tree | 50ff9b1d779a064207a72618a564d2bccabb9b92 /lib/mpi/mpi-internal.h | |
parent | 0b665062a1dde470d69ff3bd435b090a119991ab (diff) |
regulator: ab8500-ext: Don't update info->update_val if set_mode() fails
This ensures info->update_val status is still correct if set_mode() call fails.
Otherwise, get_mode() may return wrong status if a set_mode() call fails.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Bengt Jonsson <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions