public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* cfi_amdstd_resume vs. cfi_intelext_resume
@ 2004-01-08  7:33 Axel Ludszuweit
  0 siblings, 0 replies; only message in thread
From: Axel Ludszuweit @ 2004-01-08  7:33 UTC (permalink / raw)
  To: linux-mtd

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@keymile.com

>> Be the FIRST on the LAST MILE <<

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-08  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-08  7:33 cfi_amdstd_resume vs. cfi_intelext_resume Axel Ludszuweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox