From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: "Lu, Brent" <brent.lu@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Cc: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>,
"Rojewski, Cezary" <cezary.rojewski@intel.com>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Takashi Iwai <tiwai@suse.com>,
Jie Yang <yang.jie@linux.intel.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Ben Zhang <benzh@chromium.org>,
"Chiang, Mac" <mac.chiang@intel.com>,
Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH v2] ASoC: bdw-rt5650: remove 3-channel capture support
Date: Tue, 14 Apr 2020 13:53:59 -0500 [thread overview]
Message-ID: <4b9455cb-d0d2-f5d8-f04c-df6e5abb4441@linux.intel.com> (raw)
In-Reply-To: <BN6PR1101MB21320F655CFC1C271CCA9CE097DD0@BN6PR1101MB2132.namprd11.prod.outlook.com>
On 4/13/20 9:29 AM, Lu, Brent wrote:
>>
>> That looks like an error caught by the ALSA conformance tool?
>>
>> What are the odds that we have a similar issue with the other broadwell
>> drivers which don't have a constraint on the number of channels either on
>> their 'System PCM' dailink?
>>
>> Thanks
>> -Pierre
>>
>
> Yes. That's why I am sending patch for this old BDW platform...
>
> So far as I know only 'buddy' supports 2/4-channel recording while other BDW
> Chrome products should support stereo recording only. Therefore, this defect
> should only be triggered by the ALSA conformance tool.
>
> I am think about implementing the constraint in FE DAI's startup() callback
> instead of DAI Link's callback. Since the channels_max is 4 for the capture
> stream, ALSA conformance tool will always test 3-channel recording on any
> platforms using this driver. Does it make sense to you?
Looking back at previous threads, you indicated that the number of
channels supported in propagated from BE to FE, so a similar patch to
add 2ch constraints for bwd-rt5677 was dropped ("ASoC: bdw-rt5677:
channel constraint support")
Actually I am not sure it was dropped since later you submitted another
patch ("ASoC: bdw-rt5677: enable runtime channel merge"), and my
feedback was that it seemed simpler to add constraints on all machine
drivers.
And now this patch only addresses bdw-rt5650.c but with the initial
solution suggested for bdw-rt5677.c
It seems like a generic problem on all Broadwell devices so let's solve
with one a single patchset.
Shouldn't we just add the 2ch constraints for broadwell.c and
bdw-rt5677.c, and the 2 or 4ch constraint for bdw-rt5650.c? Would this
work for you?
Thanks
-Pierre
next prev parent reply other threads:[~2020-04-14 18:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 8:28 Brent Lu
2020-04-13 10:18 ` Pierre-Louis Bossart
2020-04-13 14:29 ` Lu, Brent
2020-04-14 18:53 ` Pierre-Louis Bossart [this message]
2020-04-17 1:32 ` Lu, Brent
2020-04-17 7:59 ` Cezary Rojewski
2020-04-17 13:33 ` Pierre-Louis Bossart
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=4b9455cb-d0d2-f5d8-f04c-df6e5abb4441@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=benzh@chromium.org \
--cc=brent.lu@intel.com \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=guennadi.liakhovetski@linux.intel.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mac.chiang@intel.com \
--cc=tiwai@suse.com \
--cc=yang.jie@linux.intel.com \
/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
all inboxes | Powered by JetHome®