mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
ad35da94b6
Function 'h1_gpio_get' is receiving 'val' parameter of type u64, this is being passed to 'send_ec_cmd' as type u8, thus, result is stored in least significant byte. Due to output format, the whole 'val' value was being displayed when any of the most significant bytes are different than zero. This fix will make sure only least significant byte is displayed regardless of remaining bytes value. Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> |
||
---|---|---|
.. | ||
core.c | ||
debugfs.c | ||
event.c | ||
Kconfig | ||
keyboard_leds.c | ||
mailbox.c | ||
Makefile | ||
properties.c | ||
sysfs.c | ||
telemetry.c |