OSDN Git Service

ASoC: add quirk for Surface 3 with bad DMI table
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 5 Feb 2018 09:00:00 +0000 (17:00 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 5 Feb 2018 09:00:00 +0000 (17:00 +0800)
commitdfbd5f15009f710d990488854737e59e6f357882
treee3d2bad4f619ae23f39e114321faccda5045db43
parente466ed48bb5f702f24655d3cebf975b8d0bac804
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/atom/sst/sst_acpi.c