diff options
author | Joy Chakraborty <[email protected]> | 2023-05-12 10:47:44 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-05-15 10:46:17 +0900 |
commit | 020a3947e7f18e790cc72785281755f8c49e11d4 (patch) | |
tree | 820a48a67b87bc4fa8b434b531568f958ee39d8b /net/lapb/lapb_subr.c | |
parent | d1ca1c5297ba9260942c0b3f1171a98a432bdfec (diff) |
spi: dw: Add DMA address widths capability check
Store address width capabilities of DMA controller during init and check
the same per transfer to make sure the bits/word requirement can be met.
Current DW DMA driver requires both tx and rx channel to be configured
and functional hence a subset of both tx and rx channel address width
capability is checked with the width requirement(n_bytes) for a
transfer.
* tested on Baikal-T1 based system with DW SPI-looped back interface
transferring a chunk of data with DFS:8,12,16.
Signed-off-by: Joy Chakraborty <[email protected]
Reviewed-by: Serge Semin <[email protected]
Tested-by: Serge Semin <[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions