regulator: max77686: Don't update max77686->opmode if update register fails
Ensure max77686->opmode always has correct status. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@sirena.org.uk>
Showing
Please register or sign in to comment