Merge tag 'v3.5-rc4' into regulator-drivers
Linux 3.5-rc4 contains patches which conflict with some of the development work.
This commit is contained in:
@@ -2091,6 +2091,9 @@ int regulator_map_voltage_linear(struct regulator_dev *rdev,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (min_uV < rdev->desc->min_uV)
|
||||
min_uV = rdev->desc->min_uV;
|
||||
|
||||
ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user