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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
debugfs.c | ||
event.c | ||
keyboard_leds.c | ||
mailbox.c | ||
properties.c | ||
sysfs.c | ||
telemetry.c |