From de6c3dc597f2591c09ceeae9ac75d4fb516ded89 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 18 May 2013 01:46:23 +0300 Subject: [PATCH] OMAP: l3: don't bug out on app errors This "Functional Inband error" for "Agent: sDMA Rd IA" (bit19 of L3_SI_FLAG_STATUS_0) happens randomly while both recording+playing is active, perhaps when it's being paused/resumed? Linux-SWAT reported that system keeps functioning if the error is ignored, and Neelix reported recording breaks until reinitialized, but this is still much better than bringing the system down. --- arch/arm/mach-omap2/omap_l3_smx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_l3_smx.c b/arch/arm/mach-omap2/omap_l3_smx.c index a05a62f9ee5b..abe6dc526046 100644 --- a/arch/arm/mach-omap2/omap_l3_smx.c +++ b/arch/arm/mach-omap2/omap_l3_smx.c @@ -183,7 +183,7 @@ static irqreturn_t omap3_l3_app_irq(int irq, void *_l3) * of such errors and handle the others. timeout error * is severe and not expected to occur. */ - BUG_ON(status & L3_STATUS_0_TIMEOUT_MASK); + WARN_ON(status & L3_STATUS_0_TIMEOUT_MASK); } else { status = omap3_l3_readll(l3->rt, L3_SI_FLAG_STATUS_1); /* No timeout error for debug sources */ -- 2.39.2