Unverified Commit e6ceb922 authored by Ladislav Michl's avatar Ladislav Michl Committed by Mark Brown
Browse files

ASoC: max9867: Fix codec capabilities



Codes is stereo only with playback and capture streams bind
to the same rate.

Signed-off-by: default avatarLadislav Michl <ladis@linux-mips.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8b9c716a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -369,19 +369,20 @@ static struct snd_soc_dai_driver max9867_dai[] = {
	.name = "max9867-aif1",
	.playback = {
		.stream_name = "HiFi Playback",
		.channels_min = 1,
		.channels_min = 2,
		.channels_max = 2,
		.rates = MAX9867_RATES,
		.formats = MAX9867_FORMATS,
	},
	.capture = {
		.stream_name = "HiFi Capture",
		.channels_min = 1,
		.channels_min = 2,
		.channels_max = 2,
		.rates = MAX9867_RATES,
		.formats = MAX9867_FORMATS,
	},
	.ops = &max9867_dai_ops,
	.symmetric_rates = 1,
	}
};