Skip to contentSkip to conversation

mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.76,1.77

DISCUSSION David Woodhouse 2 participants 2 messages Sep 17, 2003 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Review line 617

Quoted 9 lines · Thayne Harbaugh
(quoted diff) +2 -0
+	cli();
 	if (fast) { /* Unlock bypass */
 		cfi_send_gen_cmd(0xA0, 0, chip->start, map, cfi, cfi->device_type, NULL);
 	}
@@ -597,6 +614,7 @@
 	        cfi_send_gen_cmd(0xA0, cfi->addr_unlock1, chip->start, map, cfi, CFI_DEVICETYPE_X8, NULL);
 	}
 	cfi_write(map, datum, adr);
+	sti();

You just broke the 2.6 build.

Signature · 1 line
dwmw2
#2 lore raw
Quoted 1 line · David Woodhouse

You just broke the 2.6 build.

Thanks. Sometimes I'm so excited about "fixing" something that I don't think past the end of my nose.

I backed out the problem and will drop in a better fix soon.

Signature · 2 lines
Thayne Harbaugh
Linux Networx