]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Fix voltage change propagations to supply regulators
authorTirupathi Reddy <tirupath@codeaurora.org>
Thu, 25 May 2017 10:03:17 +0000 (15:33 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jun 2017 19:39:36 +0000 (20:39 +0100)
commit4bf5703c2c76937d352187593269e7aec2dc0c94
tree2230fb67ff104b417d50cb3ff0099f2f89f6e90f
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
regulator: core: Fix voltage change propagations to supply regulators

Some regulators support get_voltage() and some support get_voltage_sel()
operations but currently we only propagate changes if the regulator has
a get_voltage() operation.  Also do this if we've got get_voltage_sel()

[Rewite commit message for clarity -- broonie]

Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c