Commit 2645dda2 authored by Archana Sathyakumar's avatar Archana Sathyakumar Committed by Anji Jonnala
Browse files

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: default avatarArchana Sathyakumar <asathyak@codeaurora.org>
parent 6d1757af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment