From: Russell King Date: Fri, 25 Apr 2014 11:57:02 +0000 (+0100) Subject: mmc: sdhci: plug hole in disabling card detection interrupts X-Git-Tag: omap-for-v3.16/fixes-against-rc1~65^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4f1f6c496aa3a90b617d1319274bf2017e639d;p=pandora-kernel.git mmc: sdhci: plug hole in disabling card detection interrupts When we disable card detection interrupts, we should disable both the insert and remove interrupts irrespective of the current state - this avoids races between the hardware card detect changing state before we've read that updated state and altered the interrupt mask. Signed-off-by: Russell King Tested-by: Markus Pargmann Tested-by: Stephen Warren Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed