changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/bcm/emmc.c

revision 7312: 4dbf2522f668
parent 7249: 3d3af63a444a
child 7345: 5760546a6ac8
     1.1--- a/sys/src/9/bcm/emmc.c
     1.2+++ b/sys/src/9/bcm/emmc.c
     1.3@@ -236,7 +236,7 @@ emmcenable(void)
     1.4 	if(i == 1000)
     1.5 		print("SD clock won't initialise!\n");
     1.6 	WR(Irptmask, ~(Dtoerr|Cardintr));
     1.7-	intrenable(IRQmmc, mmcinterrupt, nil, 0, "mmc");
     1.8+	intrenable(IRQmmc, mmcinterrupt, nil, BUSUNKNOWN, "mmc");
     1.9 }
    1.10 
    1.11 static int
    1.12@@ -398,8 +398,6 @@ emmcio(int write, uchar *buf, int len)
    1.13 	}
    1.14 	if(i)
    1.15 		WR(Interrupt, i);
    1.16-	if(!write)
    1.17-		cachedinvse(buf, len);
    1.18 	poperror();
    1.19 	okay(0);
    1.20 }