]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cros_ec: spi: disable annoying key echo on console
authorMilan P. Stanić <mps@arvanta.net>
Wed, 18 Oct 2023 13:40:12 +0000 (15:40 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Nov 2023 02:38:01 +0000 (22:38 -0400)
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ć <mps@arvanta.net>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec_spi.c

index 001f0a85ca986de5c4e3c774c113c9a32cfce6b5..591ff30df89b8e52098ca16bb2265c753fdc7b0b 100644 (file)
@@ -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]);
        }