aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-04-10 04:46:22 -0400
committerMark Brown <broonie@kernel.org>2015-04-10 06:03:48 -0400
commitc01673e0b7236140eb5bbe1c7b30aa262f142d7e (patch)
tree5cbb1a2269df4da69cc286ce800778125f84fa16
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
ASoC: ak4642: fixup channels_min
ak4642 doesn't have Mono record, ak4643 have it, but not supported. This patch fixes channel mismatch Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/ak4642.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index dde8b49c19ad..fba80f30de4d 100644
--- a/sound/soc/codecs/ak4642.c
+++ b/sound/soc/codecs/ak4642.c
@@ -468,13 +468,13 @@ static struct snd_soc_dai_driver ak4642_dai = {
468 .name = "ak4642-hifi", 468 .name = "ak4642-hifi",
469 .playback = { 469 .playback = {
470 .stream_name = "Playback", 470 .stream_name = "Playback",
471 .channels_min = 1, 471 .channels_min = 2,
472 .channels_max = 2, 472 .channels_max = 2,
473 .rates = SNDRV_PCM_RATE_8000_48000, 473 .rates = SNDRV_PCM_RATE_8000_48000,
474 .formats = SNDRV_PCM_FMTBIT_S16_LE }, 474 .formats = SNDRV_PCM_FMTBIT_S16_LE },
475 .capture = { 475 .capture = {
476 .stream_name = "Capture", 476 .stream_name = "Capture",
477 .channels_min = 1, 477 .channels_min = 2,
478 .channels_max = 2, 478 .channels_max = 2,
479 .rates = SNDRV_PCM_RATE_8000_48000, 479 .rates = SNDRV_PCM_RATE_8000_48000,
480 .formats = SNDRV_PCM_FMTBIT_S16_LE }, 480 .formats = SNDRV_PCM_FMTBIT_S16_LE },