diff options
author | Tadashi Abe <tabe@mvista.com> | 2011-05-19 06:58:15 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-05-25 01:11:11 (GMT) |
commit | 100f2341e305f98de3aa12fb472771ab029cbda7 (patch) | |
tree | 40cc6edf73cf06b6392a18fd496cb9dc071c98d4 /drivers/staging/zram | |
parent | 52534f2dba5d033c0c33e515faa2767d7e8e986a (diff) | |
download | linux-fsl-qoriq-100f2341e305f98de3aa12fb472771ab029cbda7.tar.xz |
mtd: fix hang-up in cfi erase and read contention
cfi erase command hangs up when erase and read contention occurs.
If read runs at the same address as erase operation, read issues
Erase-Suspend via get_chip() and the erase goes into sleep in wait queue.
But in this case, read operation exits by time-out without waking it up.
I think the other variants (0001, 0020 and lpddr) have the same problem too.
Tested and verified the patch only on CFI-0002 flash, though.
Signed-off-by: Tadashi Abe <tabe@mvista.com>
Acked-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/staging/zram')
0 files changed, 0 insertions, 0 deletions