mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-26 21:52:20 +00:00
![]() The shifts and masks for each channel are defined by hardware and are not something that changes at runtime. Accordingly, describe the information in an array of const structs and associate elements with each channel instance, removing the need for the switch and handling of its default case. Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-10-3cdd59c934d3@codeconstruct.com.au Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au> |
||
---|---|---|
.. | ||
aspeed-lpc-ctrl.c | ||
aspeed-lpc-snoop.c | ||
aspeed-p2a-ctrl.c | ||
aspeed-socinfo.c | ||
aspeed-uart-routing.c | ||
Kconfig | ||
Makefile |