aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2018-03-01 09:20:56 -0500
committerMark Brown <broonie@kernel.org>2018-03-01 12:56:35 -0500
commite6ceb922ca802711db4b48639a9c73f9dc412f87 (patch)
treea1e6792f42b6cb0b8d1b4388d8135afe61fc6c34
parent8b9c716aada77e72e2fe82320aba5a95b75ca400 (diff)
ASoC: max9867: Fix codec capabilities
Codes is stereo only with playback and capture streams bind to the same rate. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/max9867.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c
index ac30213deac4..367c0329d5c8 100644
--- a/sound/soc/codecs/max9867.c
+++ b/sound/soc/codecs/max9867.c
@@ -369,19 +369,20 @@ static struct snd_soc_dai_driver max9867_dai[] = {
369 .name = "max9867-aif1", 369 .name = "max9867-aif1",
370 .playback = { 370 .playback = {
371 .stream_name = "HiFi Playback", 371 .stream_name = "HiFi Playback",
372 .channels_min = 1, 372 .channels_min = 2,
373 .channels_max = 2, 373 .channels_max = 2,
374 .rates = MAX9867_RATES, 374 .rates = MAX9867_RATES,
375 .formats = MAX9867_FORMATS, 375 .formats = MAX9867_FORMATS,
376 }, 376 },
377 .capture = { 377 .capture = {
378 .stream_name = "HiFi Capture", 378 .stream_name = "HiFi Capture",
379 .channels_min = 1, 379 .channels_min = 2,
380 .channels_max = 2, 380 .channels_max = 2,
381 .rates = MAX9867_RATES, 381 .rates = MAX9867_RATES,
382 .formats = MAX9867_FORMATS, 382 .formats = MAX9867_FORMATS,
383 }, 383 },
384 .ops = &max9867_dai_ops, 384 .ops = &max9867_dai_ops,
385 .symmetric_rates = 1,
385 } 386 }
386}; 387};
387 388