From: Andrew Bresticker Date: Mon, 20 May 2013 05:58:07 +0000 (-0700) Subject: ASoC: max98090: request IRQF_ONESHOT interrupt X-Git-Tag: v3.10-rc4~18^2^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d15aacbb802af72b4ff0c3ba576536cdb3bace0;p=pandora-kernel.git ASoC: max98090: request IRQF_ONESHOT interrupt request_threaded_irq() rejects calls which both do not specify a handler (indicating that the primary IRQ handler should be used) and do not set IRQF_ONESHOT because the combination is unsafe with level-triggered interrupts. It is safe in this case, though, since max98090 IRQs are edge-triggered and the interrupts aren't ACK'ed until the codec's IRQ status register is read. Because of this, an IRQF_ONESHOT interrupt doesn't really make a difference, but request one anyway in order to make request_threaded_irq() happy. Signed-off-by: Andrew Bresticker Signed-off-by: Mark Brown --- Reading git-diff-tree failed