From: Peter Ujfalusi Date: Wed, 7 Mar 2012 09:15:37 +0000 (+0200) Subject: ASoC: omap McBSP: Clear rx_irq at probe time for OMAP4 X-Git-Tag: v3.4-rc1~144^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73c9522e76d7147d99ff859699405a9af81fec72;p=pandora-kernel.git ASoC: omap McBSP: Clear rx_irq at probe time for OMAP4 On OMAP4 we have one interrupt line per McBSP port. At probe time tx, and rx irq value will be -ENXIO, and only the tx irq will get corrected. In omap_mcbsp_request if the rx_irq is not 0 we proceed, and try to request the interrupt, which will fail on OMAP4 (rx_irq == -6). To avoid this error, clear the rx_irq at probe time on OMAP4. Signed-off-by: Peter Ujfalusi Reviewed-by: Paul Menzel Acked-by: Mark Brown Acked-by: Jarkko Nikula Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed