diff mbox

ASoC: fsi: remove unsupported PAUSE flag

Message ID 87egtrcymo.wl%kuninori.morimoto.gx@gmail.com (mailing list archive)
State Accepted
Commit c1b9b9b1ad2df6144ca3fbe6989f7bd9ea5c5562
Headers show

Commit Message

Kuninori Morimoto Oct. 29, 2014, 4:01 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

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>
---
 sound/soc/sh/fsi.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mark Brown Oct. 29, 2014, 11:03 a.m. UTC | #1
On Tue, Oct 28, 2014 at 09:01:53PM -0700, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> FSI doesn't support PAUSE.
> Remove SNDRV_PCM_INFO_PAUSE flags from snd_pcm_hardware info

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 66fddec..88e5df4 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -1711,8 +1711,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,
 	.buffer_bytes_max	= 64 * 1024,
 	.period_bytes_min	= 32,
 	.period_bytes_max	= 8192,