]> git.karo-electronics.de Git - linux-beck.git/commit
spi: spi-mxs: Remove full duplex check, spi core already does it
authorTrent Piepho <tpiepho@gmail.com>
Tue, 1 Oct 2013 20:15:11 +0000 (13:15 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 18 Oct 2013 00:00:30 +0000 (01:00 +0100)
commit210f65fedf1d26d0a1d604fa82425018f7ad6090
treedc9b845ea140e38b4bbae5a7ff5b9ea55de9f900
parent0b782f70b51b9e611a69b9d4533b44d66b2e3e75
spi: spi-mxs: Remove full duplex check, spi core already does it

Because the driver sets the SPI_MASTER_HALF_DUPLEX flag, the spi core
will check transfers to insure they are not full duplex.  It's not
necessary to check that in the spi-mxs driver as well.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-mxs.c