commit | abb1ff195a21094f3bfb1cf8d425ff360d8a89ee | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Fri Jun 02 07:37:59 2017 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Jun 06 19:48:22 2017 +0100 |
tree | 34d60e7411db7e74df9be1b37fea1ae4a0c1c031 | |
parent | 09b3ed2d5916f270ffbc5d002a2196ededf5ec7e [diff] |
spi: imx: Nothing to do in setupxfer when transfer is NULL When the spi_transfer given in spi_imx_setupxfer is NULL then we have nothing to do. Bail out early in this case so that we do not have to test for t != NULL multiple times later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>