[alsa-devel] [PATCH] ASoC: Intel: bytcr_rt5640: Update quirk for Teclast X89
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Wed Dec 4 01:36:32 CET 2019
On 12/3/19 4:14 PM, Hans de Goede wrote:
> When the Teclast X89 quirk was added we did not have jack-detection
> support yet.
>
> Note the over-current detection limit is set to 2mA instead of the usual
> 1.5mA because this tablet tends to give false-positive button-presses
> when it is set to 1.5mA.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
Thanks Hans!
> ---
> sound/soc/intel/boards/bytcr_rt5640.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
> index dd2b5ad08659..243f683bc02a 100644
> --- a/sound/soc/intel/boards/bytcr_rt5640.c
> +++ b/sound/soc/intel/boards/bytcr_rt5640.c
> @@ -707,13 +707,17 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
> BYT_RT5640_MCLK_EN),
> },
> {
> + /* Teclast X89 */
> .matches = {
> DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
> DMI_MATCH(DMI_BOARD_NAME, "tPAD"),
> },
> .driver_data = (void *)(BYT_RT5640_IN3_MAP |
> - BYT_RT5640_MCLK_EN |
> - BYT_RT5640_SSP0_AIF1),
> + BYT_RT5640_JD_SRC_JD1_IN4P |
> + BYT_RT5640_OVCD_TH_2000UA |
> + BYT_RT5640_OVCD_SF_1P0 |
> + BYT_RT5640_SSP0_AIF1 |
> + BYT_RT5640_MCLK_EN),
> },
> { /* Toshiba Satellite Click Mini L9W-B */
> .matches = {
>
More information about the Alsa-devel
mailing list