]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: rt722-sdca: modify channel number to support 4 channels
authorJack Yu <jack.yu@realtek.com>
Tue, 9 Apr 2024 06:47:43 +0000 (06:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:48:50 +0000 (09:48 +0200)
[ Upstream commit cb9946971d7cb717b726710e1a9fa4ded00b9135 ]

Channel numbers of dmic supports 4 channels, modify channels_max
regarding to this issue.

Signed-off-by: Jack Yu <jack.yu@realtek.com>
Link: https://msgid.link/r/6a9b1d1fb2ea4f04b2157799f04053b1@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt722-sdca.c

index 0e1c65a20392addb92a6bdbc39319884f4d2f9c9..4338cdb3a7917dab1295bf41613e0da85baf19b0 100644 (file)
@@ -1329,7 +1329,7 @@ static struct snd_soc_dai_driver rt722_sdca_dai[] = {
                .capture = {
                        .stream_name = "DP6 DMic Capture",
                        .channels_min = 1,
-                       .channels_max = 2,
+                       .channels_max = 4,
                        .rates = RT722_STEREO_RATES,
                        .formats = RT722_FORMATS,
                },