[PATCH] ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Mar 12 17:24:27 CET 2021



On 3/12/21 5:48 AM, Hans de Goede wrote:
> The Asus T100TAF uses the same jack-detect settings as the T100TA,
> this has been confirmed on actual hardware.
> 
> Add these settings to the T100TAF quirks to enable jack-detect support
> on the T100TAF.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

> ---
>   sound/soc/intel/boards/bytcr_rt5640.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
> index 1f6a636571c2..59d6d47c8d82 100644
> --- a/sound/soc/intel/boards/bytcr_rt5640.c
> +++ b/sound/soc/intel/boards/bytcr_rt5640.c
> @@ -482,6 +482,9 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
>   			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100TAF"),
>   		},
>   		.driver_data = (void *)(BYT_RT5640_IN1_MAP |
> +					BYT_RT5640_JD_SRC_JD2_IN4N |
> +					BYT_RT5640_OVCD_TH_2000UA |
> +					BYT_RT5640_OVCD_SF_0P75 |
>   					BYT_RT5640_MONO_SPEAKER |
>   					BYT_RT5640_DIFF_MIC |
>   					BYT_RT5640_SSP0_AIF2 |
> 


More information about the Alsa-devel mailing list