<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/amd, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-07-25T07:53:36Z</updated>
<entry>
<title>ASoC: amd: yc: Fix non-functional mic on ASUS M5602RA</title>
<updated>2024-07-25T07:53:36Z</updated>
<author>
<name>Vyacheslav Frantsishko</name>
</author>
<published>2024-06-26T07:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccd98b2ce109234074ba3a70ae9979e5b80d87fc'/>
<id>urn:sha1:ccd98b2ce109234074ba3a70ae9979e5b80d87fc</id>
<content type='text'>
[ Upstream commit 63b47f026cc841bd3d3438dd6fccbc394dfead87 ]

The Vivobook S 16X IPS needs a quirks-table entry for the internal microphone to function properly.

Signed-off-by: Vyacheslav Frantsishko &lt;itmymaill@gmail.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patch.msgid.link/20240626070334.45633-1-itmymaill@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: move chip-&gt;flag variable assignment</title>
<updated>2024-07-05T07:37:51Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2024-06-17T07:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=819ebcd76768bccf5c9d05f9336538e1866a9cfe'/>
<id>urn:sha1:819ebcd76768bccf5c9d05f9336538e1866a9cfe</id>
<content type='text'>
[ Upstream commit 379bcd2c9197bf2c429434e8a01cea0ee1852316 ]

chip-&gt;flag variable assignment will be skipped when acp platform device
creation is skipped. In this case chip&gt;flag value will not be set.
chip-&gt;flag variable should be assigned along with other structure
variables for 'chip' structure. Move chip-&gt;flag variable assignment
prior to acp platform device creation.

Fixes: 3a94c8ad0aae ("ASoC: amd: acp: add code for scanning acp pdm controller")
Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://msgid.link/r/20240617072844.871468-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: remove i2s configuration check in acp_i2s_probe()</title>
<updated>2024-07-05T07:37:51Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2024-06-17T07:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c33a14234a17d81f3e50e7b88d9ebe331f4b99fb'/>
<id>urn:sha1:c33a14234a17d81f3e50e7b88d9ebe331f4b99fb</id>
<content type='text'>
[ Upstream commit 70fa3900c3ed92158628710e81d274e5cb52f92b ]

ACP supports different pin configurations for I2S IO. Checking ACP pin
configuration value against specific value breaks the functionality for
other I2S pin configurations. This check is no longer required in i2s dai
driver probe call as i2s configuration check will be verified during acp
platform device creation sequence.
Remove i2s_mode check in acp_i2s_probe() function.

Fixes: b24484c18b10 ("ASoC: amd: acp: ACP code generic to support newer platforms")
Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://msgid.link/r/20240617072844.871468-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: add a null check for chip_pdev structure</title>
<updated>2024-07-05T07:37:51Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2024-06-17T07:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0c39ae1cc86afe74aa2f6273ccb514f8d180cf6'/>
<id>urn:sha1:b0c39ae1cc86afe74aa2f6273ccb514f8d180cf6</id>
<content type='text'>
[ Upstream commit 98d919dfee1cc402ca29d45da642852d7c9a2301 ]

When acp platform device creation is skipped, chip-&gt;chip_pdev value will
remain NULL. Add NULL check for chip-&gt;chip_pdev structure in
snd_acp_resume() function to avoid null pointer dereference.

Fixes: 088a40980efb ("ASoC: amd: acp: add pm ops support for acp pci driver")
Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://msgid.link/r/20240617072844.871468-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: fix for acp platform device creation failure</title>
<updated>2024-06-12T09:39:34Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2024-05-02T14:03:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e2208cac63b73ce0b744082891cd31a96ec2e23'/>
<id>urn:sha1:3e2208cac63b73ce0b744082891cd31a96ec2e23</id>
<content type='text'>
[ Upstream commit 09068d624c490c0e89f33f963c402f1859964467 ]

ACP pin configuration varies based on acp version.
ACP PCI driver should read the ACP PIN config value and based on config
value, it has to create a platform device in below two conditions.
1) If ACP PDM configuration is selected from BIOS and ACP PDM controller
exists.
2) If ACP I2S configuration is selected from BIOS.

Other than above scenarios, ACP PCI driver should skip the platform
device creation logic, i.e. ACP PCI driver probe sequence should never
fail if other acp pin configuration is selected. It should skip platform
device creation logic.

check_acp_pdm() function was implemented for ACP6.x platforms to check
ACP PDM configuration. Previously, this code was safe guarded by
FLAG_AMD_LEGACY_ONLY_DMIC flag check.

This implementation breaks audio use cases for Huawei Matebooks which are
based on ACP3.x varaint uses I2S configuration.
In current scenario, check_acp_pdm() function returns -ENODEV value
which results in ACP PCI driver probe failure without creating a platform
device even in case of valid ACP pin configuration.

Implement check_acp_config() as a common function which invokes platform
specific acp pin configuration check functions for ACP3.x, ACP6.0 &amp; ACP6.3
&amp; ACP7.0 variants and checks for ACP PDM controller.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218780
Fixes: 4af565de9f8c ("ASoC: amd: acp: fix for acp pdm configuration check")
Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://lore.kernel.org/r/20240502140340.4049021-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: acp: Support microphone from device Acer 315-24p</title>
<updated>2024-04-09T15:40:47Z</updated>
<author>
<name>end.to.start</name>
</author>
<published>2024-04-08T15:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b9a474c7c820391c0913d64431ae9e1f52a5143'/>
<id>urn:sha1:4b9a474c7c820391c0913d64431ae9e1f52a5143</id>
<content type='text'>
This patch adds microphone detection for the Acer 315-24p, after which a microphone appears on the device and starts working

Signed-off-by: end.to.start &lt;end.to.start@mail.ru&gt;
Link: https://msgid.link/r/20240408152454.45532-1-end.to.start@mail.ru
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: fix for acp_init function error handling</title>
<updated>2024-03-29T13:59:35Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2024-03-29T05:38:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c603a4947a1247102ccb008d5eb6f37a4043c98'/>
<id>urn:sha1:2c603a4947a1247102ccb008d5eb6f37a4043c98</id>
<content type='text'>
If acp_init() fails, acp pci driver probe should return error.
Add acp_init() function return value check logic.

Fixes: e61b415515d3 ("ASoC: amd: acp: refactor the acp init and de-init sequence")
Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://lore.kernel.org/r/20240329053815.2373979-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: acp: fix for acp pdm configuration check</title>
<updated>2024-03-27T15:00:22Z</updated>
<author>
<name>Vijendar Mukunda</name>
</author>
<published>2024-03-27T10:46:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4af565de9f8c74b9f6035924ce0d40adec211246'/>
<id>urn:sha1:4af565de9f8c74b9f6035924ce0d40adec211246</id>
<content type='text'>
ACP PDM configuration has to be verified for all combinations.
Remove FLAG_AMD_LEGACY_ONLY_DMIC check.

Fixes: 3a94c8ad0aae ("ASoC: amd: acp: add code for scanning acp pdm controller")

Signed-off-by: Vijendar Mukunda &lt;Vijendar.Mukunda@amd.com&gt;
Link: https://msgid.link/r/20240327104657.3537664-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: yc: Revert "add new YC platform variant (0x63) support"</title>
<updated>2024-03-14T14:14:35Z</updated>
<author>
<name>Jiawei Wang</name>
</author>
<published>2024-03-13T01:58:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37bee1855d0e3b6dbeb8de71895f6f68cad137be'/>
<id>urn:sha1:37bee1855d0e3b6dbeb8de71895f6f68cad137be</id>
<content type='text'>
This reverts commit 316a784839b21b122e1761cdca54677bb19a47fa,
that enabled Yellow Carp (YC) driver for PCI revision id 0x63.

Mukunda Vijendar [1] points out that revision 0x63 is Pink
Sardine platform, not Yellow Carp. The YC driver should not
be enabled for this platform. This patch prevents the YC
driver from being incorrectly enabled.

Link: https://lore.kernel.org/linux-sound/023092e1-689c-4b00-b93f-4092c3724fb6@amd.com/ [1]

Signed-off-by: Jiawei Wang &lt;me@jwang.link&gt;
Link: https://msgid.link/r/20240313015853.3573242-3-me@jwang.link
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"</title>
<updated>2024-03-14T14:14:34Z</updated>
<author>
<name>Jiawei Wang</name>
</author>
<published>2024-03-13T01:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=861b3415e4dee06cc00cd1754808a7827b9105bf'/>
<id>urn:sha1:861b3415e4dee06cc00cd1754808a7827b9105bf</id>
<content type='text'>
This reverts commit ed00a6945dc32462c2d3744a3518d2316da66fcc,
which added a quirk entry to enable the Yellow Carp (YC)
driver for the Lenovo 21J2 laptop.

Although the microphone functioned with the YC driver, it
resulted in incorrect driver usage. The Lenovo 21J2 is not a
Yellow Carp platform, but a Pink Sardine platform, which
already has an upstreamed driver.

The microphone on the Lenovo 21J2 operates correctly with the
CONFIG_SND_SOC_AMD_PS flag enabled and does not require the
quirk entry. So this patch removes the quirk entry.

Thanks to Mukunda Vijendar [1] for pointing this out.

Link: https://lore.kernel.org/linux-sound/023092e1-689c-4b00-b93f-4092c3724fb6@amd.com/ [1]

Signed-off-by: Jiawei Wang &lt;me@jwang.link&gt;
Link: https://lore.kernel.org/linux-sound/023092e1-689c-4b00-b93f-4092c3724fb6@amd.com/ [1]
Link: https://msgid.link/r/20240313015853.3573242-2-me@jwang.link
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
