All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
@ 2020-12-27 16:41 Jaroslav Kysela
  2020-12-28 14:23 ` Mark Brown
  2020-12-28 16:12 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Jaroslav Kysela @ 2020-12-27 16:41 UTC (permalink / raw)
  To: ALSA development; +Cc: Takashi Iwai, Mark Brown, stable

The ThinkPad X395 latop does not have the internal digital
microphone connected to the AMD's ACP bridge, but it's advertised
via BIOS. The internal microphone is connected to the HDA codec.

Use DMI to block the microphone PCM device for this platform.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1892115
Cc: <stable@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
 sound/soc/amd/renoir/rn-pci-acp3x.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
index 17ec35be73ac..deca8c7a0e87 100644
--- a/sound/soc/amd/renoir/rn-pci-acp3x.c
+++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
@@ -178,6 +178,13 @@ static const struct dmi_system_id rn_acp_quirk_table[] = {
 			DMI_EXACT_MATCH(DMI_BOARD_NAME, "20T6CTO1WW"),
 		}
 	},
+	{
+		/* Lenovo ThinkPad X395 */
+		.matches = {
+			DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "20NLCTO1WW"),
+		}
+	},
 	{}
 };
 
-- 
2.29.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
  2020-12-27 16:41 [PATCH v2] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395 Jaroslav Kysela
@ 2020-12-28 14:23 ` Mark Brown
  2020-12-28 16:12 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-12-28 14:23 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Takashi Iwai, ALSA development, stable

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

On Sun, Dec 27, 2020 at 05:41:09PM +0100, Jaroslav Kysela wrote:

>  			DMI_EXACT_MATCH(DMI_BOARD_NAME, "20T6CTO1WW"),
>  		}
>  	},
> +	{
> +		/* Lenovo ThinkPad X395 */
> +		.matches = {

This has a context dependency on your previous patch so the two patches
should've been a series, git can't figure out how to apply it
independently.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
  2020-12-27 16:41 [PATCH v2] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395 Jaroslav Kysela
  2020-12-28 14:23 ` Mark Brown
@ 2020-12-28 16:12 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-12-28 16:12 UTC (permalink / raw)
  To: ALSA development, Jaroslav Kysela; +Cc: Takashi Iwai, stable

On Sun, 27 Dec 2020 17:41:09 +0100, Jaroslav Kysela wrote:
> The ThinkPad X395 latop does not have the internal digital
> microphone connected to the AMD's ACP bridge, but it's advertised
> via BIOS. The internal microphone is connected to the HDA codec.
> 
> Use DMI to block the microphone PCM device for this platform.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
      commit: 1f092d1c8819679d78a7d9c62a46d4939d217a9d

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-28 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 16:41 [PATCH v2] ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395 Jaroslav Kysela
2020-12-28 14:23 ` Mark Brown
2020-12-28 16:12 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.