]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Complain if a voltage range is specified but can't be used
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Feb 2012 13:26:13 +0000 (13:26 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Feb 2012 16:22:18 +0000 (16:22 +0000)
commit9ac561fd61f00fe5cee35102e505027c08a29623
treee6d67dbf05d7231af5dcaec74c341fa08d82c8b8
parentb506647e3d6d27668489d844050065a49a632dc6
regulator: Complain if a voltage range is specified but can't be used

It doesn't make much sense to specify a range of voltages consumers can
use if they haven't been given permission to change the voltage. Log if
this happens, probably the user forgot to specify CHANGE_VOLTAGE.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
drivers/regulator/core.c