linux-stable/drivers/soc/aspeed
Zev Weiss e4ad279ae3
soc: aspeed: uart-routing: Use __sysfs_match_string
The existing use of match_string() caused it to reject 'echo foo' due
to the implicitly appended newline, which was somewhat ergonomically
awkward and inconsistent with typical sysfs behavior.  Using the
__sysfs_* variant instead provides more convenient and consistent
linefeed-agnostic behavior.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: c6807970c3 ("soc: aspeed: Add UART routing support")
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230628083735.19946-2-zev@bewilderbeest.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230810122941.231085-1-joel@jms.id.au
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 12:12:34 +02:00
..
aspeed-lpc-ctrl.c soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-08 09:52:59 +01:00
aspeed-lpc-snoop.c soc: aspeed: fix a ternary sign expansion bug 2021-04-23 11:16:47 +02:00
aspeed-p2a-ctrl.c soc: aspeed: p2a-ctrl: Fix boundary check for mmap 2021-08-17 18:00:44 +09:30
aspeed-socinfo.c soc: aspeed: socinfo: Add AST2625 variant 2021-08-19 13:51:29 +09:30
aspeed-uart-routing.c soc: aspeed: uart-routing: Use __sysfs_match_string 2023-08-12 12:12:34 +02:00
Kconfig soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00
Makefile soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00