Re: [PATCH] spi: core: make zero length transfer valid again

From: Thierry Reding
Date: Mon Mar 03 2014 - 03:27:11 EST


On Fri, Feb 28, 2014 at 11:03:16PM +0900, Atsushi Nemoto wrote:
> Zero length transfer becomes invalid since
> "spi: core: Validate length of the transfers in message" commit,
> but it should be valid to support an odd device, for example, which
> requires long delay between chipselect and the first transfer, etc.
>
> Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
> ---
> drivers/spi/spi.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

This fixes a regression on Venice2, where the keyboard controller relied
on similar behaviour, so even if this is already applied,

Tested-by: Thierry Reding <treding@xxxxxxxxxx>

Thanks,
Thierry

Attachment: pgp2g3i3q8HqZ.pgp
Description: PGP signature