diff options
author | Tim Harvey <tharvey@gateworks.com> | 2020-05-28 07:58:49 -0700 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-06-03 16:49:28 +0200 |
commit | 0cf101d6b39a10952420af0f300a0784190887ff (patch) | |
tree | a2a0386086923c2b05f75a994d23f19e5470ee4c /target/linux/mxs | |
parent | 3fd8e86079b21459c744b61b466b12c69ed3ab24 (diff) | |
download | upstream-0cf101d6b39a10952420af0f300a0784190887ff.tar.gz upstream-0cf101d6b39a10952420af0f300a0784190887ff.tar.bz2 upstream-0cf101d6b39a10952420af0f300a0784190887ff.zip |
octeontx: fix mcp251x can controller
Update the can-mcp251x-convert-to-half-duplex-SPI patch to fix reception
Some SPI host controllers such as the Cavium Thunder TX do not support
full-duplex SPI. Using half-duplex transfers allows the driver to work
with those host controllers.
This patch fixes the fact that mcp251x_hw_rx_frame was still relying on
a full-duplex transfer where bits were being shifted on MOSI at the same time
as MISO. After splitting the transaction into a spi_write_then_read() care
must be taken to ignore the first byte.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'target/linux/mxs')
0 files changed, 0 insertions, 0 deletions