diff options
author | Vignesh R <vigneshr@ti.com> | 2016-07-22 10:55:48 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-07-30 00:15:00 +0530 |
commit | 69eeefaa060a848cd6acd8c94d1c43c9022adf53 (patch) | |
tree | 72f5bacaa41ced53ebb3ea3e4af30d9e99315f82 /arch/arm/mach-snapdragon | |
parent | 6bde34f1ae2a3fd253b0bc9b51686e30649ba7d8 (diff) | |
download | u-boot-imx-69eeefaa060a848cd6acd8c94d1c43c9022adf53.zip u-boot-imx-69eeefaa060a848cd6acd8c94d1c43c9022adf53.tar.gz u-boot-imx-69eeefaa060a848cd6acd8c94d1c43c9022adf53.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-snapdragon')
0 files changed, 0 insertions, 0 deletions