[alsa-devel] [PATCH] ASoC: Intel: bytcr_rt5640: Add quirk for the ARCHOS 80 Cesium 8" windows tablet

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue May 29 15:48:18 CEST 2018


On 5/28/18 3:26 PM, Hans de Goede wrote:
> Add a quirk for the ARCHOS 80 Cesium 8" windows tablet, this device mostly
> works with the default settings, except that it has only one speaker.
> So add a quirk with the default settings + the mono-speaker flag.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

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

This MONO_SPEAKER quirk was initially an optimization to avoid enabling 
unnecessary amplifiers, but now it's needed to apply the right UCM config.


> ---
>   sound/soc/intel/boards/bytcr_rt5640.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
> index 828be866fb00..d675d550f6c1 100644
> --- a/sound/soc/intel/boards/bytcr_rt5640.c
> +++ b/sound/soc/intel/boards/bytcr_rt5640.c
> @@ -419,6 +419,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
>   						 BYT_RT5640_SSP0_AIF1),
>   
>   	},
> +	{
> +		.matches = {
> +			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ARCHOS"),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ARCHOS 80 Cesium"),
> +		},
> +		.driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
> +					BYT_RT5640_MONO_SPEAKER |
> +					BYT_RT5640_SSP0_AIF1 |
> +					BYT_RT5640_MCLK_EN),
> +	},
>   	{
>   		.matches = {
>   			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> 



More information about the Alsa-devel mailing list