Re: [PATCH] spi: core: Validate lenght of the transfers in message

From: Gerhard Sittig
Date: Thu Feb 13 2014 - 16:28:10 EST


On Thu, Feb 13, 2014 at 16:46 +0200, Ivan T. Ivanov wrote:
>
> From: "Ivan T. Ivanov" <iivanov@xxxxxxxxxx>
>
> SPI transfer lenght should be a power-of-two multiple
> of eight bits.

Are you suggesting that an SPI transfer cannot consist of e.g.
three bytes? This would be surprising, and certainly would be
rather wrong an assumption. Am I missing/misunderstanding
something?


virtually yours
Gerhard Sittig
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@xxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/