From: Mark Brown Date: Tue, 5 Jan 2010 13:59:08 +0000 (+0000) Subject: rtc: Suppress duplicate enable/disable of WM8350 update interrupt X-Git-Tag: v2.6.34-rc1~9^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29c71b138c83c8191f1f7e46fcc28b9d6bc8a5dd;p=pandora-kernel.git rtc: Suppress duplicate enable/disable of WM8350 update interrupt Unlike the wm8350-custom code genirq nests enable and disable calls so we can't just unconditionally mask or unmask the interrupt, we need to remember the state we set and only mask or unmask when there is a real change. Signed-off-by: Mark Brown Acked-by: Alessandro Zummo Cc: rtc-linux@googlegroups.com Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed