Messages in this thread | | | Date | Mon, 3 Mar 2014 09:26:58 +0100 | From | Thierry Reding <> | 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@mba.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@nvidia.com>
Thanks, Thierry [unhandled content-type:application/pgp-signature] | |