Re: [PATCH 1/4] regulator: core: Allow specify apply_[reg|bit] forregmap based voltage_sel operations

From: Haojian Zhuang
Date: Fri Dec 21 2012 - 11:21:15 EST


On Tue, Dec 18, 2012 at 9:30 AM, Axel Lin <axel.lin@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> drivers/regulator/core.c | 12 +++++++++++-
> include/linux/regulator/driver.h | 6 ++++++
> 2 files changed, 17 insertions(+), 1 deletion(-)
>
Acked-by: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/