Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2957a28a authored by Michael Heimpold's avatar Michael Heimpold Committed by David S. Miller
Browse files

net: ethernet: enc28j60: support half-duplex SPI controllers



The current spi_read_buf function fails on SPI host masters which
are only half-duplex capable. Splitting the Tx and Rx part solves
this issue.

Tested on Raspberry Pi (full duplex) and I2SE Duckbill (half duplex).

Signed-off-by: default avatarMichael Heimpold <mhei@heimpold.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4b05d27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment