-
由 Jean Delvare 提交于
When CONFIG_REGULATOR isn't set, regulator_get_voltage() returns 0. Properly handle this case by not trusting the value. Reported-by: NJerome Oufella <jerome.oufella@savoirfairelinux.com> Signed-off-by: NJean Delvare <khali@linux-fr.org> Cc: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
c7a78d2c