--- cfi_cmdset_0001.c 2006-09-21 15:58:35.000000000 -0400 +++ cfi_cmdset_0001.c.org 2006-09-21 15:58:03.000000000 -0400 @@ -2212,7 +2212,6 @@ int i; struct flchip *chip; int ret = 0; - __u16 adr = cfi->cfiq->P_ADR; for (i=0; !ret && inumchips; i++) { chip = &cfi->chips[i]; @@ -2227,7 +2226,6 @@ 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.