spi: ti_qspi: Fix SPI_3WIRE checking using mode
authorJagan Teki <jteki@openedev.com>
Thu, 3 Dec 2015 16:55:20 +0000 (22:25 +0530)
committerJagan Teki <jteki@openedev.com>
Fri, 11 Dec 2015 16:42:23 +0000 (22:12 +0530)
commitcd337da21ecea0f34335d3b2d33bcd28d9e3d0d0
treee37d44b14d4173d8090b1d63c607e8c084db4321
parent379b49d82ee3304b55ece1f32d95fbeef9e0176a
spi: ti_qspi: Fix SPI_3WIRE checking using mode

SPI_3WIRE is spi mode not spi flags, so this patch fixed
the spi-3wire checking throgh mode instead of flags.

Cc: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ti_qspi.c