* [PATCH] fixup! console: add new CONFIG_CONSOLE_DISABLE_INPUT option
@ 2021-10-02 17:44 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2021-10-02 17:44 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
Fix typo in CONFIG_CONSOLE_DISABLE_INPUT case for simple console.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Sorry, just noticed it when looking again at the diff. Please squash.
---
common/console_simple.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/console_simple.c b/common/console_simple.c
index 3b95570e5e76..8c404ad264c4 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -95,7 +95,7 @@ int console_register(struct console_device *newcdev)
newcdev->f_active = CONSOLE_STDIOE;
if (IS_ENABLED(CONFIG_CONSOLE_DISABLE_INPUT))
- newcdev->f_active = ~CONSOLE_STDIN;
+ newcdev->f_active &= ~CONSOLE_STDIN;
barebox_banner();
--
2.30.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-02 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-02 17:44 [PATCH] fixup! console: add new CONFIG_CONSOLE_DISABLE_INPUT option Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox