]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: More sanity checks for transfers
authorMark Brown <broonie@linaro.org>
Wed, 10 Jul 2013 14:05:40 +0000 (15:05 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:03:08 +0000 (18:03 +0200)
commitd507e111e3049e26bdf53611523a8d5eaf7679d1
treeefc91a9784c21c6736c8db7bd9ce33ffe9a80ce0
parentbb5e9a408dc5d0e88fd8f10db6ae37a33f4d912e
spi: More sanity checks for transfers

Check that transfers are non-empty and that there is a completion for
them.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/spi/spi.c