diff options
author | Andrew Jeffery <andrew@codeconstruct.com.au> | 2025-06-16 22:43:47 +0930 |
---|---|---|
committer | Andrew Jeffery <andrew@codeconstruct.com.au> | 2025-07-08 11:35:07 +0930 |
commit | fdf003f30b99e232cd3e61cc42d836ed14d08ccb (patch) | |
tree | 45919eb0c55c3cb25f0286794bd6faa89ee7d211 /net/lapb/lapb_out.c | |
parent | 4483e3c481bd2d026813434f3cd93381386cd1fa (diff) |
soc: aspeed: lpc-snoop: Lift channel config to const structs
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>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions