diff options
| author | Rafael J. Wysocki <[email protected]> | 2016-03-21 14:47:48 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-03-22 22:13:36 +0000 |
| commit | 3bbf8fe3ae0845af9192118753c2399efe531832 (patch) | |
| tree | e35adff645878fdc538139b32ca4f687db76c935 /net/switchdev/switchdev.c | |
| parent | cpufreq: Introduce cpufreq_update_current_freq() (diff) | |
| download | kernel-3bbf8fe3ae0845af9192118753c2399efe531832.tar.gz kernel-3bbf8fe3ae0845af9192118753c2399efe531832.zip | |
cpufreq: Always update current frequency before startig governor
Make policy->cur match the current frequency returned by the driver's
->get() callback before starting the governor in case they went out of
sync in the meantime and drop the piece of code attempting to
resync policy->cur with the real frequency of the boot CPU from
cpufreq_resume() as it serves no purpose any more (and it's racy and
super-ugly anyway).
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
