Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 18:32:47 +0000 (UTC)
From:      Jakub Wojciech Klama <jceel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r239461 - user/jceel/soc2012_armv6/sys/arm/ti
Message-ID:  <201208201832.q7KIWlA9075813@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jceel
Date: Mon Aug 20 18:32:46 2012
New Revision: 239461
URL: http://svn.freebsd.org/changeset/base/239461

Log:
  Fix obvious mistake in TI aintc driver.

Modified:
  user/jceel/soc2012_armv6/sys/arm/ti/aintc.c

Modified: user/jceel/soc2012_armv6/sys/arm/ti/aintc.c
==============================================================================
--- user/jceel/soc2012_armv6/sys/arm/ti/aintc.c	Mon Aug 20 18:27:02 2012	(r239460)
+++ user/jceel/soc2012_armv6/sys/arm/ti/aintc.c	Mon Aug 20 18:32:46 2012	(r239461)
@@ -169,10 +169,11 @@ ti_aintc_intr(void *arg)
 	if ((active_irq & 0xffffff80)) {
 		device_printf(sc->sc_dev,
 		    "Spurious interrupt detected (0x%08x)\n", active_irq);
-		return -1;
+		return FILTER_HANDLED;
 	}
 
-	return active_irq;
+	arm_dispatch_irq(sc->sc_dev, NULL, active_irq);
+	return FILTER_HANDLED;
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208201832.q7KIWlA9075813>