On Mon, Jul 30, 2012 at 02:52:20PM +0800, Shawn Guo wrote: > On Thu, Jul 26, 2012 at 02:11:21PM +0100, Mark Brown wrote: > > regulator_get_voltage() might be a bit expensive, many regulators will > > query the hardware every time. Since it's just for diagnostic purposes > > it'd be better to not bother and let people read the historical > > information from the logs. > > > Ok, makes sense to me. > In the reply to one of Richard's comment, the volt_old will be used not only for diagnostic purpose but also for reverting voltage back when clk_set_rate fails. -- Regards, Shawn -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html