[alsa-devel] [PATCH] ASoC: Intel: Kabylake machine driver changes for a FE DAI

Vinod Koul vinod.koul at intel.com
Wed Sep 27 07:26:43 CEST 2017


On Tue, Sep 26, 2017 at 02:42:02PM -0700, Harsha Priya wrote:

Sorry the title is not very clear

Consider:

ASoC: Intel: Kbl: Add Playback DAI for fixup


> 'Kbl Audio Headset Playback' FE DAI also needs SSP hw parama fix.
> Adding this dai also to be handled in kabylake_ssp_fixup() call.

/s/Adding/Add

> 
> Signed-off-by: Harsha Priya <harshapriya.n at intel.com>
> ---
>  sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
> index 88ff542..e767283 100644
> --- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
> +++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
> @@ -302,6 +302,7 @@ static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd,
>  	 * The ADSP will convert the FE rate to 48k, stereo, 24 bit
>  	 */
>  	if (!strcmp(fe_dai_link->name, "Kbl Audio Port") ||
> +	    !strcmp(fe_dai_link->name, "Kbl Audio Headset Playback") ||
>  	    !strcmp(fe_dai_link->name, "Kbl Audio Capture Port")) {
>  		rate->min = rate->max = 48000;
>  		channels->min = channels->max = 2;
> -- 
> 1.9.1
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
~Vinod


More information about the Alsa-devel mailing list