Skip to content
Commit 656d0498 authored by Roel Kluin's avatar Roel Kluin Committed by Liam Girdwood
Browse files

regulator: fix calculation of voltage range in da9034_set_ldo12_voltage()



For val to be greater than 7 or less than 20 is logically always true.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 77bb8ff9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment