summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2017-10-20 12:18:59 +0100
committerMark Brown <broonie@kernel.org>2017-10-26 16:15:27 +0200
commitf85353fdd49fe0087438ef7d7475a832d16276c4 (patch)
tree1aa2e501f8594e838a539f5fff336ae9b61767da /sound
parentb4435130bc19cd54631588355b16326aeb760e34 (diff)
downloadop-kernel-dev-f85353fdd49fe0087438ef7d7475a832d16276c4.zip
op-kernel-dev-f85353fdd49fe0087438ef7d7475a832d16276c4.tar.gz
ASoC: rt5651: Enable JD1_1 quirk for KIANO laptopt
The KIANO SlimNote 14.2 laptop uses the JD1_1 input pin for jack detection. Set the correct quirk in the codec driver. Signed-off-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt5651.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index f01d411..831b297 100644
--- a/sound/soc/codecs/rt5651.c
+++ b/sound/soc/codecs/rt5651.c
@@ -1753,6 +1753,14 @@ static int rt5651_quirk_cb(const struct dmi_system_id *id)
}
static const struct dmi_system_id rt5651_quirk_table[] = {
+ {
+ .callback = rt5651_quirk_cb,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "KIANO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "KIANO SlimNote 14.2"),
+ },
+ .driver_data = (unsigned long *) RT5651_JD1_1,
+ },
{}
};
OpenPOWER on IntegriCloud