From: "Milan P. Stanić" <mps@arvanta.net>
To: u-boot@lists.denx.de
Cc: "Simon Glass" <sjg@chromium.org>, "Milan P . Stanić" <mps@arvanta.net>
Subject: [PATCH] cros_ec: spi: disable annoying key echo on console
Date: Tue, 17 Oct 2023 21:25:04 +0200 [thread overview]
Message-ID: <20231017192517.13135-1-mps@arvanta.net> (raw)
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
---
drivers/misc/cros_ec_spi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/cros_ec_spi.c b/drivers/misc/cros_ec_spi.c
index 001f0a85ca..7317f4b0f1 100644
--- a/drivers/misc/cros_ec_spi.c
+++ b/drivers/misc/cros_ec_spi.c
@@ -151,7 +151,6 @@ 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]);
return -(int)(p[0]);
}
--
2.42.0
next reply other threads:[~2023-10-17 19:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-17 19:25 Milan P. Stanić [this message]
2023-10-18 3:33 ` [PATCH] cros_ec: spi: disable annoying key echo on console Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231017192517.13135-1-mps@arvanta.net \
--to=mps@arvanta.net \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox