From: Boris BREZILLON Date: Fri, 6 Jun 2014 21:36:11 +0000 (-0700) Subject: ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~4^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dcc87fec8947308e0111c65dcd881e6aa5b1673;p=pandora-kernel.git ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs sam9x5 SoCs have the following errata: "RTC: Interrupt Mask Register cannot be used Interrupt Mask Register read always returns 0." Hence we should not rely on what IMR claims about already masked IRQs and just disable all IRQs. Signed-off-by: Boris BREZILLON Reported-by: Bryan Evenson Reviewed-by: Johan Hovold Acked-by: Nicolas Ferre Cc: Bryan Evenson Cc: Andrew Victor Cc: Jean-Christophe Plagniol-Villard Cc: Alessandro Zummo Cc: Mark Roszko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed