From: Sharique Mohammad <sharq0406@gmail.com>
To: linux-sound@vger.kernel.org
Cc: perex@perex.cz, broonie@kernel.org, lgirdwood@gmail.com,
Sharique Mohammad <sharq0406@gmail.com>
Subject: [PATCH 2/3] ASoC: max98090/91: fixed wrong channel constraint for .capture
Date: Wed, 15 Oct 2025 11:36:27 +0200 [thread overview]
Message-ID: <20251015093628.659936-2-sharq0406@gmail.com> (raw)
In-Reply-To: <20251015093628.659936-1-sharq0406@gmail.com>
max98091 with functionality of supporting two digital stereo mics
together, the number of channels supported increases to 4. In the
current code the channels_max in .capture of the DAI structure
"struct snd_soc_dai_driver max98090_dai" is 2, now with this patch it has
been increases to 4.
Signed-off-by: Sharique Mohammad <sharq0406@gmail.com>
---
sound/soc/codecs/max98090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 77994539c3a8..0eeea6c1974d 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2410,7 +2410,7 @@ static struct snd_soc_dai_driver max98090_dai = {
.capture = {
.stream_name = "HiFi Capture",
.channels_min = 1,
- .channels_max = 2,
+ .channels_max = 4,
.rates = MAX98090_RATES,
.formats = MAX98090_FORMATS,
},
--
2.30.5
next prev parent reply other threads:[~2025-10-15 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-15 9:36 [PATCH 1/3] ASoC: max98090/91: added new ALSA routes and widgets Sharique Mohammad
2025-10-15 9:36 ` Sharique Mohammad [this message]
2025-10-15 9:36 ` [PATCH 3/3] ASoC: max98090/91: added a comment for the users and fixed an extra space Sharique Mohammad
2025-10-15 10:35 ` [PATCH 1/3] ASoC: max98090/91: added new ALSA routes and widgets Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251015093628.659936-2-sharq0406@gmail.com \
--to=sharq0406@gmail.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox