diff options
author | Carlo Caione <carlo@endlessm.com> | 2017-10-20 07:18:57 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-26 10:15:55 -0400 |
commit | 2fe30129b0a6a8ddf71c46c8fb4524cb89739bc0 (patch) | |
tree | b8f7329f1cf46956a27e5d340b97b12aa8d1b843 | |
parent | d9f8f9b2f3e2b95875cd59ae5c3276e4662e7513 (diff) |
ASoC: intel: byt: Enable IN2 map quirk for a KIANO laptop
This cherry-trails laptop has the internal mic connected to the IN2
input pins. Enable the quirk to correctly map the routes.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/boards/bytcr_rt5651.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/bytcr_rt5651.c b/sound/soc/intel/boards/bytcr_rt5651.c index 0df9067e4382..d955836c6870 100644 --- a/sound/soc/intel/boards/bytcr_rt5651.c +++ b/sound/soc/intel/boards/bytcr_rt5651.c | |||
@@ -250,6 +250,14 @@ static const struct dmi_system_id byt_rt5651_quirk_table[] = { | |||
250 | .driver_data = (void *)(BYT_RT5651_DMIC_MAP | | 250 | .driver_data = (void *)(BYT_RT5651_DMIC_MAP | |
251 | BYT_RT5651_DMIC_EN), | 251 | BYT_RT5651_DMIC_EN), |
252 | }, | 252 | }, |
253 | { | ||
254 | .callback = byt_rt5651_quirk_cb, | ||
255 | .matches = { | ||
256 | DMI_MATCH(DMI_SYS_VENDOR, "KIANO"), | ||
257 | DMI_MATCH(DMI_PRODUCT_NAME, "KIANO SlimNote 14.2"), | ||
258 | }, | ||
259 | .driver_data = (void *)(BYT_RT5651_IN2_MAP), | ||
260 | }, | ||
253 | {} | 261 | {} |
254 | }; | 262 | }; |
255 | 263 | ||