From: Axel Lin Date: Mon, 21 May 2012 01:37:52 +0000 (+0800) Subject: regulator: core: Call set_voltage_time_sel() only when the regulator is on X-Git-Tag: v3.6-rc1~157^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b7485ef623b9171e5a58c67eef5912a27db5822;p=pandora-kernel.git regulator: core: Call set_voltage_time_sel() only when the regulator is on If the regulator is not on, it won't take time setting new voltage. So only call set_voltage_time_sel() to get the necessary delay when the regulator is on. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed