Skip to content
Commit 9efd3831 authored by Sergey Shcherbakov's avatar Sergey Shcherbakov Committed by David S. Miller
Browse files

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: default avatarSergey Shcherbakov <shchers@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 825d2c50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment