Skip to contentSkip to conversation

cfi_amdstd_resume vs. cfi_intelext_resume

PATCH Axel Ludszuweit 1 participant 1 message Jan 8, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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 2004-01-08 08:29:29.000000000 +0100 renamed from drivers/mtd/chips/cfi_cmdset_0001.c.orig 2004-01-08 08:28:23.000000000 +0100 +1 -1
@@ -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?

Signature · 11 lines
--------------------------------------------

Axel Ludszuweit

Keymile GmbH
Wohlenbergstr. 3, D-30179 Hannover 

Tel.: +49 511 / 978197-630
Fax : +49 511 / 978197-670
http://www.keymile.com
mailto:[email protected]
Quoted 1 line
Quoted 1 line

Be the FIRST on the LAST MILE <<