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
@@@ -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);