diff mbox series

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

Message ID 20210312114850.13832-1-hdegoede@redhat.com (mailing list archive)
State Accepted
Commit b7c7203a1f751348f35fc4bcb157572d303f7573
Headers show
Series ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF | expand

Commit Message

Hans de Goede March 12, 2021, 11:48 a.m. UTC
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@redhat.com>
---
 sound/soc/intel/boards/bytcr_rt5640.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Pierre-Louis Bossart March 12, 2021, 4:24 p.m. UTC | #1
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@redhat.com>

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@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 |
>
Mark Brown March 12, 2021, 8:23 p.m. UTC | #2
On Fri, 12 Mar 2021 12:48:50 +0100, 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.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
      commit: b7c7203a1f751348f35fc4bcb157572d303f7573

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

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 |