--- linux-2.6.18/drivers/mtd/chips/cfi_cmdset_0001.c 2006-09-19 23:42:06.000000000 -0400 +++ linux-2.6.18-m5900/drivers/mtd/chips/cfi_cmdset_0001.c 2006-09-22 09:16:21.000000000 -0400 @@ -2224,6 +2224,8 @@ case FL_CFI_QUERY: case FL_JEDEC_QUERY: if (chip->oldstate == FL_READY) { + /* place the chip in a known state before suspend */ + map_write(map, CMD(0xFF), cfi->chips[i].start); chip->oldstate = chip->state; chip->state = FL_PM_SUSPENDED; /* No need to wake_up() on this state change -