diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2015-02-17 19:03:51 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-21 09:29:09 (GMT) |
commit | 006110476478c69c399d0cd25888eefab0e69267 (patch) | |
tree | 629e830087284cec4134234dff0fe67f0a2062a4 /mm/cleancache.c | |
parent | 66886337bf2a523aef76cff84c846335db5f85f9 (diff) | |
download | linux-006110476478c69c399d0cd25888eefab0e69267.tar.xz |
drivers: spi: ti-qspi: wait for busy bit clear before data write/read
Data corruption is seen while reading/writing large data from/to qspi
device because the data register is over written or read before data
is ready which is denoted by busy bit in status register. SO adding
a busy bit check before writing/reading data to/from qspi device.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/cleancache.c')
0 files changed, 0 insertions, 0 deletions