]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: Intel: bytcr-rt5651: enable MinnowBoard Turbot quirks
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 5 Jan 2018 19:20:20 +0000 (13:20 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 16:01:50 +0000 (16:01 +0000)
Define DMI quirk for rt5651 eval board connected to MinnowBoard
Turbot. The only difference with a MinnowBoard MAX is that the MCLK
pin is enabled on the LSE connector

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tested-by: Keqiao.Zhang <Keqiao.zhang@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c

index a958ed37569fea836ceddcaa844c9ea466e71c17..dfe6435f8ed06cc7cc2487c884cb12416f7c7b64 100644 (file)
@@ -266,6 +266,15 @@ static const struct dmi_system_id byt_rt5651_quirk_table[] = {
                },
                .driver_data = (void *)(BYT_RT5651_IN3_MAP),
        },
+       {
+               .callback = byt_rt5651_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ADI"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Minnowboard Turbot"),
+               },
+               .driver_data = (void *)(BYT_RT5651_MCLK_EN |
+                                       BYT_RT5651_IN3_MAP),
+       },
        {
                .callback = byt_rt5651_quirk_cb,
                .matches = {