mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
Add a DMI quirk for the Jumper EZpad 7 tablet, this tablet has a jack-detect switch which reads 1/high when a jack is inserted, rather then using the standard active-low setup which most jack-detect switches use. All other settings are using the defaults. Add a DMI-quirk setting the defaults + the BYT_RT5651_JD_NOT_INV flags for this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210216213555.36555-4-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e1317cc9ca
commit
df8359c512
1 changed files with 13 additions and 0 deletions
|
@ -435,6 +435,19 @@ static const struct dmi_system_id byt_rt5651_quirk_table[] = {
|
|||
BYT_RT5651_SSP0_AIF1 |
|
||||
BYT_RT5651_MONO_SPEAKER),
|
||||
},
|
||||
{
|
||||
/* Jumper EZpad 7 */
|
||||
.callback = byt_rt5651_quirk_cb,
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Jumper"),
|
||||
DMI_MATCH(DMI_PRODUCT_NAME, "EZpad"),
|
||||
/* Jumper12x.WJ2012.bsBKRCP05 with the version dropped */
|
||||
DMI_MATCH(DMI_BIOS_VERSION, "Jumper12x.WJ2012.bsBKRCP"),
|
||||
},
|
||||
.driver_data = (void *)(BYT_RT5651_DEFAULT_QUIRKS |
|
||||
BYT_RT5651_IN2_MAP |
|
||||
BYT_RT5651_JD_NOT_INV),
|
||||
},
|
||||
{
|
||||
/* KIANO SlimNote 14.2 */
|
||||
.callback = byt_rt5651_quirk_cb,
|
||||
|
|
Loading…
Reference in a new issue