Bug in sharp.c flash driver

Flavio Pereira fpereira at azisa.com
Mon Nov 4 22:30:12 EST 2002


Hi Wolfgang

I finally sorted out my MTD problems. It turns out that there is a
problem in drvivers/mtd/sharp.c. In function sharp_erase

	if (instr->callback) {
		instr->callback(instr);
	}

instr->state never gets set so the mtd driver never exits. We need to
set the state before this if statement:

instr->state = MTD_ERASE_DONE;

Regards
Flavio Pereira


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list