aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx_old.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-07-18 10:21:57 -0400
committerMark Brown <broonie@linaro.org>2013-07-18 10:55:09 -0400
commita56d66a2f01b172bc00d73b0b0392423c8aaae19 (patch)
tree3ce675637f8b26f4fe3b3928233de8c587eecaee /drivers/scsi/aic7xxx_old.c
parentc36a1cdf96dd3a4e6b612d6847bff6c7086e358b (diff)
regulator: core: Allow fixed voltage range in multiple linear ranges
Current code does not allow fixed voltage range in multiple linear ranges. If someone does set range->uV_step == 0 in one of the linear ranges, we hit divided by zero bug. This patch fixes this issue. For fixed voltage range, return any selector means the same voltage. Thus just return 0. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/scsi/aic7xxx_old.c')
0 files changed, 0 insertions, 0 deletions