zynq: spi: Remove unnecessary error condition
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 15 Apr 2015 11:13:28 +0000 (13:13 +0200)
committerJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Wed, 22 Apr 2015 11:19:51 +0000 (16:49 +0530)
commit8c48a68346038fdaa901e622760fe4c6a302220b
tree172f7222416b2849c2dfb8a61727a2e4cdaf97d6
parent06bc1756c5b75ff8719ee969b3b99b4d32d9603e
zynq: spi: Remove unnecessary error condition

Removed the unnecessary error check from spi_xfer
as the bitlen zero is possible now to deassert the
chip select for which no data is required to be transfered.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/spi/zynq_spi.c