--- cfi_cmdset_0001.c.org 2006-09-21 15:58:03.000000000 -0400 +++ cfi_cmdset_0001.c 2006-09-21 16:19:09.000000000 -0400 @@ -2212,6 +2212,7 @@ int i; struct flchip *chip; int ret = 0; + u16 adr = cfi->cfiq->P_ADR; for (i=0; !ret && inumchips; i++) { chip = &cfi->chips[i]; @@ -2226,6 +2227,7 @@ if (chip->oldstate == FL_READY) { chip->oldstate = chip->state; chip->state = FL_PM_SUSPENDED; + map_write(map, CMD(0xFF), adr); /* No need to wake_up() on this state change - * as the whole point is that nobody can do anything * with the chip now anyway.