ASoC: fsi: remove unsupported PAUSE flag
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 29 Oct 2014 04:01:53 +0000 (21:01 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:52 +0000 (16:23 +0000)
commit c1b9b9b1ad2df6144ca3fbe6989f7bd9ea5c5562 upstream.

FSI doesn't support PAUSE.
Remove SNDRV_PCM_INFO_PAUSE flags from snd_pcm_hardware info

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/sh/fsi.c

index 3d7016e..4a2c639 100644 (file)
@@ -1096,8 +1096,7 @@ static struct snd_soc_dai_ops fsi_dai_ops = {
 static struct snd_pcm_hardware fsi_pcm_hardware = {
        .info =         SNDRV_PCM_INFO_INTERLEAVED      |
                        SNDRV_PCM_INFO_MMAP             |
-                       SNDRV_PCM_INFO_MMAP_VALID       |
-                       SNDRV_PCM_INFO_PAUSE,
+                       SNDRV_PCM_INFO_MMAP_VALID,
        .formats                = FSI_FMTS,
        .rates                  = FSI_RATES,
        .rate_min               = 8000,