[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 3 Mar 2014 09:26:58 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Atsushi Nemoto <anemo@....ocn.ne.jp>
Cc: Mark Brown <broonie@...nel.org>, iivanov@...sol.com, gsi@...x.de,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi: core: make zero length transfer valid again
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@....ocn.ne.jp>
> ---
> 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@...dia.com>
Thanks,
Thierry
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists