diff mbox

ASoC: intel: rt5640: add support for sound card found on HP Pavilion x2 10-p000

Message ID 7368c4ab543ff6a4783984e72a0ab04e@nya.ai (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandrov Stanislav Jan. 3, 2017, 9:56 p.m. UTC
Add support for rt5640 sound card found on HP Pavilion x2 10-p000 
tablet.

original bugreport: https://bugzilla.kernel.org/show_bug.cgi?id=187621

Signed-off-by: Alexandrov Stanislav <neko@nya.ai>
---
  sound/soc/codecs/rt5640.c           | 1 +
  sound/soc/intel/atom/sst/sst_acpi.c | 2 ++
  2 files changed, 3 insertions(+)

  	{},
  };
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index e29a6de..c5234b9 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -2315,6 +2315,7 @@  static const struct acpi_device_id 
rt5640_acpi_match[] = {
  	{ "INT33CA", 0 },
  	{ "10EC5640", 0 },
  	{ "10EC5642", 0 },
+	{ "10EC3276", 0 },
  	{ "INTCCFFD", 0 },
  	{ },
  };
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c 
b/sound/soc/intel/atom/sst/sst_acpi.c
index f4d92bb..896ced2 100644
--- a/sound/soc/intel/atom/sst/sst_acpi.c
+++ b/sound/soc/intel/atom/sst/sst_acpi.c
@@ -463,6 +463,8 @@  static struct sst_acpi_mach sst_acpi_chv[] = {
  	/* some CHT-T platforms rely on RT5640, use Baytrail machine driver */
  	{"10EC5640", "bytcr_rt5640", "intel/fw_sst_22a8.bin", "bytcr_rt5640", 
cht_quirk,
  						&chv_platform_data },
+	{"10EC3276", "bytcr_rt5640", "intel/fw_sst_22a8.bin", "bytcr_rt5640", 
NULL,
+						&chv_platform_data },