diff mbox series

Nokia RX-51: Fix checking if serial console was enabled

Message ID 20200531222910.22986-1-pali@kernel.org
State Accepted
Commit 94e837b6fc4194c61ec12fd087c2ed26f94a50d3
Headers show
Series Nokia RX-51: Fix checking if serial console was enabled | expand

Commit Message

Pali Rohár May 31, 2020, 10:29 p.m. UTC
There was incorrect logic for parsing OMAP_TAG_UART atag.

Signed-off-by: Pali Roh?r <pali at kernel.org>
---
 board/nokia/rx51/rx51.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lokesh Vutla June 18, 2020, 1:53 p.m. UTC | #1
On 01/06/20 3:59 am, Pali Roh?r wrote:
> There was incorrect logic for parsing OMAP_TAG_UART atag.
> 
> Signed-off-by: Pali Roh?r <pali at kernel.org>

Applied to u-boot-ti next.

Thanks and regards,
Lokesh
diff mbox series

Patch

diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c
index 2af387edc9..823316ea47 100644
--- a/board/nokia/rx51/rx51.c
+++ b/board/nokia/rx51/rx51.c
@@ -146,7 +146,7 @@  static void reuse_omap_atags(struct tag_omap *t)
 			}
 			break;
 		case OMAP_TAG_UART:
-			if (!t->u.uart.enabled_uarts)
+			if (t->u.uart.enabled_uarts)
 				serial_was_console_enabled = 1;
 			break;
 		case OMAP_TAG_SERIAL_CONSOLE: