cpufreq: Resolve CPUFREQ_NOTIFY issue
When the cpufreq_stat receives the frequency policy notification,
it checks if the frequency table and stats table are present for the cpu.
If both are present, it returns with -EBUSY error to the notification.
Due to this, none of the other registered modules receive this
notification.
If the stat table and sysfs nodes are already created, return 0 instead
of returning EBUSY error.
Change-Id: I1fd4a46e6a65edfc6253c4271288f10912ae2ad7
Signed-off-by:
Archana Sathyakumar <asathyak@codeaurora.org>
Loading
Please sign in to comment