Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f85353fd authored by Carlo Caione's avatar Carlo Caione Committed by Mark Brown
Browse files

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: default avatarCarlo Caione <carlo@endlessm.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b4435130
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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,
	},
	{}
};