diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2019-10-31 23:37:27 +0300 |
---|---|---|
committer | Vignesh Raghavendra <vigneshr@ti.com> | 2019-11-09 14:43:41 +0530 |
commit | 72914a8cff7e1d910c58e125e15a0da409e3135f (patch) | |
tree | 43651d00d60efb21c55c46012a8c7a14cefd8a4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 03976af89e3bd9489d542582a325892e6a8cacc0 (diff) |
mtd: cfi_cmdset_0002: only check errors when ready in cfi_check_err_status()
Cypress S26K{L|S}P{128|256|512}S datasheet says that the error bits in
the status register are only valid when the "device ready" bit 7 is set.
Add the check for the device ready bit in cfi_check_err_status() as that
function isn't always called with this bit set.
Fixes: 4844ef80305d ("mtd: cfi_cmdset_0002: Add support for polling status register")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions