aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2014-11-04 09:49:43 +0100
committerMark Brown <[email protected]>2014-11-04 20:47:50 +0000
commita26ed45c912d46cedac5f15c2872aa7e462fcdf1 (patch)
tree8414c9b37c50b7798a5ada27b6e0a1507f46bdb9 /scripts/objdiff
parent4d7078e69417852283937872e210adcc633be66f (diff)
regulator: max77802: Don't ignore return value of current opmode
The return value of regmap_read() of current opmode for regulator was silently ignored and whatever happened to be in 'val' variable was used as new opmode. This could lead to using bogus opmode. Don't ignore what regmap_read() returns. If it fails just fall back to normal opmode. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions