On 8 February 2013 08:56, amit kachhap <amit.kachhap@xxxxxxxxx> wrote: >>>>> + dvfs_info->dvfs_init = true; >>>> >>>> why do you need this ? >>> This is added to synchronize the interrupts. >> >> How? You are setting it once in init() and not touching it afterwards. :) > > Yes but during init also if interrupts starts arriving before complete > initialization so to protect that case it is there. I suppose there > are other ways. Will check them Then clear any pending interrupts from init () -- 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