OSDN Git Service

ASoC: add quirk for Surface 3 with bad DMI table
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 18 Sep 2018 03:01:37 +0000 (11:01 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 18 Sep 2018 03:01:37 +0000 (11:01 +0800)
commit213098c5686c06ab823b39dbb2b7c2844b08036e
tree6e7494804a90a2f36c5af763afa937d517539efa
parent36cc59fb3caa88c77ccd4914f9ccc9438a5401b4
ASoC: add quirk for Surface 3 with bad DMI table

Some Microsoft Surface 3 owners including me encountered a strange issue
when play Android-x86 on the tablet. The DMI table was erased due to
unknown reason and sound doesn't work in Android-x86 (but it's normal
in Windows). See more details:

https://groups.google.com/d/msg/android-x86/z6GDuvV2oWk/mzyg0RQiCAAJ

Since the DMI table is incorrect, kernel won't enable quirk for it.
To workaround such an issue, add quirk for the bad data "OEMB".
It should not affect any product with correct DMI data.
sound/soc/codecs/rt5645.c
sound/soc/intel/common/soc-acpi-intel-cht-match.c