]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: amd: yc: Fix the wrong return value
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Tue, 10 Dec 2024 09:10:25 +0000 (14:40 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 10 Dec 2024 12:44:15 +0000 (12:44 +0000)
commit984795e76def5c903724b8d6a8228e356bbdf2af
treeb96e497096280bbff2bf5d30bd70483f30d2c23c
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4
ASoC: amd: yc: Fix the wrong return value

With the current implementation, when ACP driver fails to read
ACPI _WOV entry then the DMI overrides code won't invoke,
may cause regressions for some BIOS versions.

Add a condition check to jump to check the DMI entries incase of
ACP driver fail to read ACPI _WOV method.

Fixes: 4095cf872084 (ASoC: amd: yc: Fix for enabling DMIC on acp6x via _DSD entry)
Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20241210091026.996860-1-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c