diff mbox

ASoC: rt5640: Add RT5642 ACPI ID for Intel Baytrail

Message ID 1422015330-10483-1-git-send-email-jarkko.nikula@linux.intel.com (mailing list archive)
State Accepted
Commit 3463667aa171ed5359d63a6195e65d457aa6eb2f
Headers show

Commit Message

Jarkko Nikula Jan. 23, 2015, 12:15 p.m. UTC
Asus T100TAF uses ACPI ID "10EC5642" for its audio codec. I suppose it is
updated ACPI ID for the RT5642 codec since some earlier platforms are using
"10EC5640" with the RT5642 too.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: Bard Liao <bardliao@realtek.com>
Cc: Oder Chiou <oder_chiou@realtek.com>
---
ACPI ID found from the DSDT table of Asus T100TAF. This makes the rt5640
codec driver probing but the audio itself is not working due a bit different
ACPI data and perhaps HW differences too compared to for instance Asus
T100TA.
---
 sound/soc/codecs/rt5640.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Jan. 26, 2015, 7:17 p.m. UTC | #1
On Fri, Jan 23, 2015 at 02:15:30PM +0200, Jarkko Nikula wrote:
> Asus T100TAF uses ACPI ID "10EC5642" for its audio codec. I suppose it is
> updated ACPI ID for the RT5642 codec since some earlier platforms are using
> "10EC5640" with the RT5642 too.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index b386958de042..178e55d4d481 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -2125,6 +2125,7 @@  MODULE_DEVICE_TABLE(of, rt5640_of_match);
 static struct acpi_device_id rt5640_acpi_match[] = {
 	{ "INT33CA", 0 },
 	{ "10EC5640", 0 },
+	{ "10EC5642", 0 },
 	{ },
 };
 MODULE_DEVICE_TABLE(acpi, rt5640_acpi_match);