]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Log forbidden DRMS operation
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Thu, 21 Feb 2019 11:55:22 +0000 (12:55 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Feb 2019 18:53:37 +0000 (18:53 +0000)
commitf926f22725c61c01f5cd7037a9f82fc5ec78470c
treea23b930f6a9f733b2f5576d2d1a43e3155c29c3d
parentef04c6889dc618540c2c7f55eb7665409fcd85d2
regulator: core: Log forbidden DRMS operation

When REGULATOR_CHANGE_DRMS is not set, drms_uA_update is a no-op.
It used to print a debug message, which was dropped in commit
d1b1a6486600 ("regulator: refactor valid_ops_mask checking code")

Let's bring the debug message back, because it helps find missing
regulator-allow-set-load properties.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c