cros_ec: spi: disable annoying key echo on console
Subsystems (2)
PATCH v2 1/1 cros_ec: spi: disable annoying key echo on console
on Peach-pi console every key press is echoed with message 'cros_ec_command: Returned status 1'
this is not proper fix, just hack to disable this message
Signed-off-by Milan P. Stanić <[email protected]>
Reviewed-by Simon Glass <[email protected]>
---
changed patch to use log_debug and added forgoten Signed-off-by and and Reviewed-by Simon response mail
drivers/misc/cros_ec_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/cros_ec_spi.c +1 -1
@@ -151,7 +151,7 @@ int cros_ec_spi_command(struct udevice *udev, uint8_t cmd, int cmd_version,/* Response code is first byte of message */ if (p[0 ] !=EC_RES_SUCCESS ) { -printf ("%s: Returned status %d\n" , __func__, p[0 ]); +log_debug ("Returned status %d\n" , p[0 ]);return -(int )(p[0 ]); }
Signature · 1 line
2.42.0
on Peach-pi console every key press is echoed with message 'cros_ec_command: Returned status 1'
this is not proper fix, just hack to disable this message
Signed-off-by Milan P. Stanić <[email protected]>
Reviewed-by Simon Glass <[email protected]>
---
changed patch to use log_debug and added forgoten Signed-off-by and and Reviewed-by Simon response mail
drivers/misc/cros_ec_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm, thanks!