diff options
author | Peter Hess <[email protected]> | 2021-07-06 14:16:09 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-07-11 23:44:40 +0100 |
commit | 3a70dd2d050331ee4cf5ad9d5c0a32d83ead9a43 (patch) | |
tree | bba5ea41919e4d9e327213fabaa1eae696a17e21 /include/linux/fpga | |
parent | 69e1818ad27bae167eeaaf6829d4a08900ef5153 (diff) |
spi: mediatek: fix fifo rx mode
In FIFO mode were two problems:
- RX mode was never handled and
- in this case the tx_buf pointer was NULL and caused an exception
fix this by handling RX mode in mtk_spi_fifo_transfer
Fixes: a568231f4632 ("spi: mediatek: Add spi bus for Mediatek MT8173")
Signed-off-by: Peter Hess <[email protected]>
Signed-off-by: Frank Wunderlich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/fpga')
0 files changed, 0 insertions, 0 deletions