Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4f89038f authored by Dan Carpenter's avatar Dan Carpenter Committed by Zhang Rui
Browse files

Thermal: cpufreq cooling: endian bug in cpufreq_get_max_state()



This code doesn't work on big endian systems because we're storing low
values in the high bits of the unsigned long.  It makes it a very high
value instead.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent d13cb03a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment