commit | 7c02ae1ebe2689422fc233cddd91f1a265d293fc | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Jun 05 18:45:38 2023 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Mon Jun 05 11:04:33 2023 +0000 |
tree | cf61f29fffbd0609890f91f00359ee9e90ae834d | |
parent | 9598b866d8e2189b0f426e8a384f2e20dc4d732c [diff] [blame] |
console-server: Use correct attribute name in VUART test The test was looking for a sysfs attribute named `lpc_addr`, but the attribute actually exposed is `lpc_address`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/stable/sysfs-driver-aspeed-vuart?h=v6.3#n1 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: Ifaa2687385c53d847d79803a4bb7cf77054a7dde
diff --git a/console-server.c b/console-server.c index e60e280..4f894a4 100644 --- a/console-server.c +++ b/console-server.c
@@ -150,7 +150,7 @@ } /* Arbitrarily pick an attribute to differentiate UART vs VUART */ - rc = asprintf(&tty_vuart_lpc_addr, "%s/lpc_addr", tty_sysfs_devnode); + rc = asprintf(&tty_vuart_lpc_addr, "%s/lpc_address", tty_sysfs_devnode); if (rc < 0) { goto out_free; }