Bug in sharp.c flash driver

From: Flavio Pereira <hidden>
Date: 2002-11-04 11:30:12

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help