From: Axel Lin Date: Tue, 18 Dec 2012 01:30:10 +0000 (+0800) Subject: regulator: core: Allow specify apply_[reg|bit] for regmap based voltage_sel operations X-Git-Tag: v3.9-rc1~154^2~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8520b4c5d25eb7b8b54f1ae9ba7da71375f2b2c;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed