commit | 073512336e6333ffcaabbb2b92f8e616db3a0789 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Fri Feb 24 23:13:19 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Feb 24 15:21:47 2012 +0000 |
tree | 280e7e61ca080acb02fa1d92403c2f85989f253d | |
parent | 247514344492a0cf602317d2089bab1301922624 [diff] |
regulator: Set delay to 0 if set_voltage_time_sel callback returns error rdev->desc->ops->set_voltage_time_sel may return negative error code. Set delay to 0 and also show warning if set_voltage_time_sel returns error. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>