Messages in this thread | | | Date | Fri, 21 Dec 2012 23:53:56 +0800 | Subject | Re: [PATCH 1/4] regulator: core: Allow specify apply_[reg|bit] for regmap based voltage_sel operations | From | Haojian Zhuang <> |
| |
On Tue, Dec 18, 2012 at 9:30 AM, Axel Lin <axel.lin@ingics.com> wrote: > 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> > --- > drivers/regulator/core.c | 12 +++++++++++- > include/linux/regulator/driver.h | 6 ++++++ > 2 files changed, 17 insertions(+), 1 deletion(-) > Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
| |