commit | 6ac15e92dfd3064ae484e2e823890622476c4356 | [log] [tgz] |
---|---|---|
author | Graff Yang <graff.yang@gmail.com> | Mon Mar 02 16:31:29 2009 +0800 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Mar 20 18:32:17 2009 +0000 |
tree | 4aced435b7d4cd9cb9fffb83694e6fa15f94fe29 | |
parent | 610f75e74b636f933bc3e379a88a10f883b91332 [diff] |
[MTD] [CHIPS] cfi_cmdset_0001.c: Fix a bug in inval_cache_and_wait_for_operation(). If the inval_cache_and_wait_for_operation() is re-entered by write operation when erase operation is in progress, the chip->erase_suspended will be cleared, this cause the erase timeo is not reset and will result time out error for erase. Signed-off-by: Graff Yang <graff.yang@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>