On Tue, 23 Aug 2011, Venkatraman S wrote:
From: Venkatraman S venkat@linaro.org
The underlying implementation in enable_fiq/disable_fiq uses the irqs anyway, so use them directly.
Signed-off-by: Venkatraman S venkat@linaro.org
Same comment as for patch #22/24.
sound/soc/imx/imx-pcm-fiq.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c index 413b78d..7f12b4b 100644 --- a/sound/soc/imx/imx-pcm-fiq.c +++ b/sound/soc/imx/imx-pcm-fiq.c @@ -138,7 +138,7 @@ static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), HRTIMER_MODE_REL); if (++fiq_enable == 1)
enable_fiq(imx_pcm_fiq);
enable_irq(imx_pcm_fiq + FIQ_START);
break; @@ -148,7 +148,7 @@ static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) atomic_set(&iprtd->running, 0); if (--fiq_enable == 0)
disable_fiq(imx_pcm_fiq);
disable_irq(imx_pcm_fiq + FIQ_START);
break; default: -- 1.7.1