commit | 2957a28a0e874aea0f734e2897b27f669502a970 | [log] [tgz] |
---|---|---|
author | Michael Heimpold <mhei@heimpold.de> | Thu Apr 28 22:06:14 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 29 16:23:02 2016 -0400 |
tree | b7f3a0b6389c4243cf26af0888ebd80925263f9c | |
parent | f4b05d27ec6b032ca504591e2a157b058b6f172f [diff] |
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: Michael Heimpold <mhei@heimpold.de> Signed-off-by: David S. Miller <davem@davemloft.net>