ASoC: fsi: remove unsupported PAUSE flag
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 29 Oct 2014 04:01:53 +0000 (21:01 -0700)
committerZefan Li <lizefan@huawei.com>
Mon, 2 Feb 2015 09:05:21 +0000 (17:05 +0800)
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>
Signed-off-by: Zefan Li <lizefan@huawei.com>
sound/soc/sh/fsi.c

index 91b728774dbaf0659d0f70d08f91092d3f9d910f..eb0599f29768ac9575c664440d39b16f5e6db8f7 100644 (file)
@@ -1393,8 +1393,7 @@ static const 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,