[PATCH 1/6] ASoC: amd: yc: Adjust the gain for PDM DMIC

Limonciello, Mario Mario.Limonciello at amd.com
Fri Jan 27 18:02:25 CET 2023


[AMD Official Use Only - General]



> -----Original Message-----
> From: Mark Brown <broonie at kernel.org>
> Sent: Friday, January 27, 2023 10:53
> To: Limonciello, Mario <Mario.Limonciello at amd.com>
> Cc: Jaroslav Kysela <jkysela at redhat.com>; Mukunda, Vijendar
> <Vijendar.Mukunda at amd.com>; Saba Kareem, Syed
> <Syed.SabaKareem at amd.com>; linux-kernel at vger.kernel.org;
> Pananchikkal, Renjith <Renjith.Pananchikkal at amd.com>; Mark Pearson
> <mpearson at lenovo.com>; Liam Girdwood <lgirdwood at gmail.com>;
> Jaroslav Kysela <perex at perex.cz>; Takashi Iwai <tiwai at suse.com>; alsa-
> devel at alsa-project.org
> Subject: Re: [PATCH 1/6] ASoC: amd: yc: Adjust the gain for PDM DMIC
> 
> On Fri, Jan 27, 2023 at 10:01:28AM -0600, Mario Limonciello wrote:
> > A number of users for Lenovo Rembrandt based laptops are
> > reporting that the microphone is too quiet relative to
> > Windows with a dual boot.
> >
> > Increase the PDM gain to overcome this problem.
> 
> Why not just make this a regular control that can be adjusted as
> users see fit?

Maximum HW gain is what we probably should have been setting from the
beginning.  The module parameter stuff was in case we need to debug it.

My thought is if we find some reported problems with the series we ask
users to try the module parameters.  If we're finding that certain parameters
make sense for different systems then we tear out the module parameter
and instead export a control and set policy from ucm.

If nothing is reported, we can probably drop the parameters at some time
in the future.


More information about the Alsa-devel mailing list