Author: ian Date: Thu Jul 10 14:06:18 2014 New Revision: 268495 URL: http://svnweb.freebsd.org/changeset/base/268495
Log: Pending interrupt status is cleared by writing to the ISR, not the data reg. MFC after: 1 week Modified: head/sys/arm/freescale/imx/imx51_gpio.c Modified: head/sys/arm/freescale/imx/imx51_gpio.c ============================================================================== --- head/sys/arm/freescale/imx/imx51_gpio.c Thu Jul 10 13:08:51 2014 (r268494) +++ head/sys/arm/freescale/imx/imx51_gpio.c Thu Jul 10 14:06:18 2014 (r268495) @@ -355,7 +355,7 @@ imx51_gpio_intr(void *arg) sc = arg; input = READ4(sc, IMX_GPIO_ISR_REG); value = input & READ4(sc, IMX_GPIO_IMR_REG); - WRITE4(sc, IMX_GPIO_DR_REG, input); + WRITE4(sc, IMX_GPIO_ISR_REG, input); if (!value) goto intr_done; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"