regulator: core: Allow specify apply_[reg|bit] for regmap based voltage_sel operations
authorAxel Lin <axel.lin@ingics.com>
Tue, 18 Dec 2012 01:30:10 +0000 (09:30 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Dec 2012 16:34:11 +0000 (16:34 +0000)
Some DVM regulators needs to update apply_bit after setting vsel_reg to
initiate voltage change on the output.  This patch adds apply_reg and
apply_bit to struct regulator_desc and update
regulator_set_voltage_sel_regmap() to set apply_bit of apply_reg when
apply_bit is set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found