Mark,
On Sat, Aug 16, 2014 at 8:30 AM, Mark Brown broonie@kernel.org wrote:
From: Mark Brown broonie@linaro.org
Client drivers such as the ChomeOS EC driver sometimes use transfers with no buffers and only a delay specified in order to allow a delay after the assertion of /CS. Rather than require controller drivers handle this noop case gracefully put checks in the core to ensure that we don't call into the controller for such transfers.
Reported-by: Addy Ke addy.ke@rock-chips.com Signed-off-by: Mark Brown broonie@linaro.org
Completely untested at this point.
drivers/spi/spi.c | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-)
Thank you for writing this patch. It looks great and works for me.
Tested-by: Doug Anderson dianders@chromium.org Reviewed-by: Doug Anderson dianders@chromium.org