]> git.karo-electronics.de Git - linux-beck.git/commit
spi: core: Validate length of the transfers in message
authorIvan T. Ivanov <iivanov@mm-sol.com>
Thu, 20 Feb 2014 10:02:08 +0000 (12:02 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 22 Feb 2014 02:59:56 +0000 (11:59 +0900)
commit4d94bd21b333c695eba97746b615e2efb30240cc
tree597abf7c2ef1da1d45724223f852f007424731f4
parentaec35f4ee6eefba616065547e6882c084cc7f5cb
spi: core: Validate length of the transfers in message

SPI transfer length should be multiple of SPI word size,
where SPI word size should be power-of-two multiple

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c