commit | 9efd3831d5ae3babb45a37ae7d6b18642a0745de | [log] [tgz] |
---|---|---|
author | Sergey Shcherbakov <shchers@gmail.com> | Thu Mar 09 02:58:14 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 09 18:18:37 2017 -0800 |
tree | 69951fe3e76644db2ba55904168cea85382845d8 | |
parent | 825d2c509a04d94b208eeebc7295f04bb70a1929 [diff] |
net: ks8851: Added support for half-duplex SPI In original driver was implemented support for half- and full-duplex modes, but it was not enabled. Instead of it ks8851_rx_1msg method always returns "true" that means "full-duplex" mode. This patch replaces hard-coded functionality with flexible solution that supports both SPI modes. Signed-off-by: Sergey Shcherbakov <shchers@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>