Merge tag 'asoc-v3.13-4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
authorTakashi Iwai <tiwai@suse.de>
Sat, 16 Nov 2013 10:45:55 +0000 (11:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 16 Nov 2013 10:45:55 +0000 (11:45 +0100)
ASoC: Fixes for v3.13

A few fixes in drivers, the i.MX and wm8962 fixes are for a pretty nasty
issues for users of those drivers if they run into them.

1  2 
sound/soc/codecs/wm8962.c
sound/soc/fsl/imx-pcm-fiq.c

Simple merge
index 10e330514ed8bfd1334410119d992c2c1a177d26,2fc872b2deff7bc9d2028f9e2ff48348b131a2e3..f00b512dbada8fed724c94a3fb06e81e09cb93f5
@@@ -50,9 -53,11 +51,9 @@@ static enum hrtimer_restart snd_hrtimer
        struct imx_pcm_runtime_data *iprtd =
                container_of(hrt, struct imx_pcm_runtime_data, hrt);
        struct snd_pcm_substream *substream = iprtd->substream;
 -      struct snd_pcm_runtime *runtime = substream->runtime;
        struct pt_regs regs;
 -      unsigned long delta;
  
-       if (!atomic_read(&iprtd->running))
+       if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing))
                return HRTIMER_NORESTART;
  
        get_fiq_regs(&regs);