cfi_amdstd_resume vs. cfi_intelext_resume
Axel Ludszuweit
alu at keymile.com
Thu Jan 8 02:33:53 EST 2004
Hello,
I have compared both function, mentioned in the subject.
I think, there is an error in
static void cfi_intelext_resume(struct mtd_info *mtd),
which can be fixed with the following patch.
--- ./drivers/mtd/chips/cfi_cmdset_0001.c.orig 2004-01-08 08:28:23.000000000 +0100
+++ ./drivers/mtd/chips/cfi_cmdset_0001.c 2004-01-08 08:29:29.000000000 +0100
@@ -1676,7 +1676,7 @@
/* Go to known state. Chip may have been power cycled */
if (chip->state == FL_PM_SUSPENDED) {
- cfi_write(map, CMD(0xFF), 0);
+ cfi_write(map, CMD(0xFF), chip->start);
chip->state = FL_READY;
wake_up(&chip->wq);
}
Is this correct, or have I misunderstanding something?
--
--------------------------------------------
Axel Ludszuweit
Keymile GmbH
Wohlenbergstr. 3, D-30179 Hannover
Tel.: +49 511 / 978197-630
Fax : +49 511 / 978197-670
http://www.keymile.com
mailto:axel.ludszuweit at keymile.com
>> Be the FIRST on the LAST MILE <<
More information about the linux-mtd
mailing list