cfi_cmdset_0002.c do_write_oneword(...) problem
Jörn Engel
joern at wohnheim.fh-wedel.de
Thu Feb 13 18:08:56 EST 2003
On Thu, 13 February 2003 16:51:47 -0500, Vladimir Doukhanine wrote:
>
> The hack like yours didn???t make MTD write work.
>
> But it works if I have
> Something like:
>
> printk(KERN_DEBUG);
>
> or
>
> set_current_state(TASK_INTERRUPTIBLE);
> schedule_timeout(0);
>
> in the very beginning of the subroutine.
Ugly. My bet is that you have a memory corruption somewhere, but don't
notice it. This does not have to be inside cfi_cmdset_0002.c
Jörn
--
Good warriors cause others to come to them and do not go to others.
-- Sun Tzu
More information about the linux-mtd
mailing list