From: Kuninori Morimoto Date: Fri, 10 Apr 2015 08:46:22 +0000 (+0000) Subject: ASoC: ak4642: fixup channels_min X-Git-Tag: firefly_0821_release~176^2~1862^2~14^2~15^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c01673e0b7236140eb5bbe1c7b30aa262f142d7e;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Mark Brown --- 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 = { .name = "ak4642-hifi", .playback = { .stream_name = "Playback", - .channels_min = 1, + .channels_min = 2, .channels_max = 2, .rates = SNDRV_PCM_RATE_8000_48000, .formats = SNDRV_PCM_FMTBIT_S16_LE }, .capture = { .stream_name = "Capture", - .channels_min = 1, + .channels_min = 2, .channels_max = 2, .rates = SNDRV_PCM_RATE_8000_48000, .formats = SNDRV_PCM_FMTBIT_S16_LE },