openwrt/target/linux/octeontx/patches-5.4
Tim Harvey 0cf101d6b3 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>
2020-06-03 16:49:28 +02:00
..
0001-net-thunderx-use-proper-interface-type-for-RGMII.patch
0002-gpio-thunderx-fix-irq_request_resources.patch octeontx: fix gpio irq request 2020-06-03 16:49:28 +02:00
0003-can-mcp251x-convert-to-half-duplex-SPI.patch octeontx: fix mcp251x can controller 2020-06-03 16:49:28 +02:00
0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch kernel: bump 5.4 to 5.4.38 2020-05-04 21:09:12 +02:00