Skip to content
Snippets Groups Projects
user avatar
Lubomir Rintel authored
The endianness of data returned from the EC depends on the particular EC
version determined at run time. Cast from little/big endian explicitey
in the routine that flips endianness to the native one to make sparse
happy.

Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Fixes: 76311b9a ("power: supply: olpc_battery: Add OLPC XO 1.75 support")
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
baf5964e
History
Name Last commit Last update