shithub: riscv

Download patch

ref: 2c32e8e9f9c0cf74fd2f575e94a784f94116811d
parent: 9ea3302a4fa37113fef2dd61277f46811b210215
author: cinap_lenrek <cinap_lenrek@localhost>
date: Tue Jul 12 23:09:52 EDT 2011

audiohda: remove unhandled interrupt prints as it spams the console if interrupts are shared

--- a/sys/src/9/pc/audiohda.c
+++ b/sys/src/9/pc/audiohda.c
@@ -1194,11 +1194,8 @@
 	
 	ilock(ctlr);
 	sts = csr32(ctlr, Intsts);
-	if(sts & Sismask){
+	if(sts & Sismask)
 		streamupdate(ctlr);
-	}else{
-		iprint("#A%d: hda unhandled interrupt\n", ctlr->no);
-	}
 	iunlock(ctlr);
 }