]> Git Repo - linux.git/commitdiff
ASoC: rt5651: Enable JD1_1 quirk for KIANO laptopt
authorCarlo Caione <[email protected]>
Fri, 20 Oct 2017 11:18:59 +0000 (12:18 +0100)
committerMark Brown <[email protected]>
Thu, 26 Oct 2017 14:15:27 +0000 (16:15 +0200)
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/rt5651.c

index f01d411016316caf5f078b586e9c68457a29484c..831b297978a485ff58fe4eea38373c6392cab7ae 100644 (file)
@@ -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,
+       },
        {}
 };
 
This page took 0.07137 seconds and 4 git commands to generate.