]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'v3.3-rc4' into for-3.4 in order to resolve the conflict
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Feb 2012 02:35:12 +0000 (18:35 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Feb 2012 02:35:12 +0000 (18:35 -0800)
resolved below within the FSI driver and allow the application of the
dmaeengine conversion that depends on this resolution.

Linux 3.3-rc4

Conflicts:
sound/soc/sh/fsi.c

1  2 
drivers/base/regmap/regcache.c
sound/soc/sh/fsi.c

Simple merge
index 79a0afb78725b1cd03715fec61de4a0cbe4a0f0c,ea4a82d01160f5657e19a4f1f4df4ca928d1737a..13746809c27dcf52b19c4546115d58fdef1941d4
@@@ -1210,13 -1151,9 +1210,9 @@@ static int fsi_hw_free(struct snd_pcm_s
  static snd_pcm_uframes_t fsi_pointer(struct snd_pcm_substream *substream)
  {
        struct fsi_priv *fsi = fsi_get_priv(substream);
 -      struct fsi_stream *io = fsi_get_stream(fsi, fsi_is_play(substream));
 +      struct fsi_stream *io = fsi_stream_get(fsi, substream);
-       int samples_pos = io->buff_sample_pos - 1;
  
-       if (samples_pos < 0)
-               samples_pos = 0;
-       return fsi_sample2frame(fsi, samples_pos);
+       return fsi_sample2frame(fsi, io->buff_sample_pos);
  }
  
  static struct snd_pcm_ops fsi_pcm_ops = {