Skip to content

Commit

Permalink
ASoC: Intel: bytcr_rt5640: quirks for Insyde devices
Browse files Browse the repository at this point in the history
Tested on Onda and cube i7 cx

Signed-off-by: youling257 <youling257@gmail.com>
  • Loading branch information
youling257 authored and plbossart committed Oct 25, 2016
1 parent 4cb6864 commit 94ad2b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions sound/soc/intel/boards/bytcr_rt5640.c
Expand Up @@ -388,6 +388,28 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
BYT_RT5640_MCLK_EN |
BYT_RT5640_SSP0_AIF1 ),

},
{
.callback = byt_rt5640_quirk_cb,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
DMI_MATCH(DMI_PRODUCT_NAME, "ONDA Tablet"),
},
.driver_data = (unsigned long *)(BYT_RT5640_IN1_MAP |
BYT_RT5640_MCLK_EN |
BYT_RT5640_SSP0_AIF1),

},
{
.callback = byt_rt5640_quirk_cb,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
DMI_MATCH(DMI_PRODUCT_NAME, "hampoo"),
},
.driver_data = (unsigned long *)(BYT_RT5640_IN1_MAP |
BYT_RT5640_MCLK_EN |
BYT_RT5640_SSP0_AIF1),

},
{}
};
Expand Down

0 comments on commit 94ad2b5

Please sign in to comment.