commit | c8520b4c5d25eb7b8b54f1ae9ba7da71375f2b2c | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Dec 18 09:30:10 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Dec 24 16:34:11 2012 +0000 |
tree | 30ac7c7e9f1f2a00523019409bf223a5a4417aa9 | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 [diff] |
regulator: core: Allow specify apply_[reg|bit] for regmap based voltage_sel operations 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>