diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2016-08-12 17:27:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-15 10:15:13 -0400 |
commit | ec1c90e777e5a555632747527fae142aa238e583 (patch) | |
tree | ec6a07728f518b36937494a116f879bca3c1ace2 /sound/soc/intel/boards | |
parent | 0565e773c272038dc917dde9ed3fb53f72692685 (diff) |
ASoC: Intel: bytcr_rt5640: Add quirk for Teclast X98 Air 3G tablet
Add DMI-based quirk, routing from SSP0 to AIF1 is not very
usual
Suggested-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards')
-rw-r--r-- | sound/soc/intel/boards/bytcr_rt5640.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index 230fc2333434..032abfee89e6 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c | |||
@@ -339,6 +339,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { | |||
339 | .driver_data = (unsigned long *)(BYT_RT5640_DMIC1_MAP | | 339 | .driver_data = (unsigned long *)(BYT_RT5640_DMIC1_MAP | |
340 | BYT_RT5640_DMIC_EN), | 340 | BYT_RT5640_DMIC_EN), |
341 | }, | 341 | }, |
342 | { | ||
343 | .callback = byt_rt5640_quirk_cb, | ||
344 | .matches = { | ||
345 | DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"), | ||
346 | DMI_MATCH(DMI_BOARD_NAME, "tPAD"), | ||
347 | }, | ||
348 | .driver_data = (unsigned long *)(BYT_RT5640_IN3_MAP | | ||
349 | BYT_RT5640_MCLK_EN | | ||
350 | BYT_RT5640_SSP0_AIF1), | ||
351 | }, | ||
342 | {} | 352 | {} |
343 | }; | 353 | }; |
344 | 354 | ||