Vignesh R 69eeefaa06 spi: ti_qspi: Fix failure on multiple READ_ID cmd
Populating QSPI_RD_SNGL bit(0x1) in priv->cmd means that value
QSPI_INVAL (0x4) is not written to CMD field of QSPI_SPI_CMD_REG in
ti_qspi_cs_deactivate(). Therefore CS is never deactivated between
successive READ ID which results in sf probe to fail.
Fix this by not populating priv->cmd with QSPI_RD_SNGL and OR it wih
priv->cmd as required (similar to the convention followed in the
driver).

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
2016-07-30 00:15:00 +05:30
..
2015-10-27 23:21:42 +05:30
2015-10-27 23:19:29 +05:30
2015-10-27 23:19:29 +05:30
2015-01-09 00:03:28 +05:30
2016-02-05 12:47:20 +08:00
2015-10-27 23:21:28 +05:30
2015-09-02 21:28:24 -06:00
2016-01-19 08:31:21 -05:00
2016-01-19 08:31:21 -05:00
2015-10-27 23:21:43 +05:30
2015-11-12 09:21:07 -07:00