]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Fix the s5m8767a problem of the division by null
authorSangbeom Kim <sbkim73@samsung.com>
Wed, 13 Jun 2012 08:27:16 +0000 (17:27 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 17 Jun 2012 17:27:20 +0000 (18:27 +0100)
commit0d932c95785baf22ca63cfecc0ac9a35f4fbfb59
tree0577e89eed0cf9558b8a48cbebc56e56239054bf
parent5f08201fa29ff2d50c0761a85f8814930cbabedc
regulator: Fix the s5m8767a problem of the division by null

If ramp_delay is 0, delay value can be divided by zero.
This patch can fix the problem.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/s5m8767.c