[alsa-devel] [PATCH v2] ASoC: Intel: Kbl: Add Playback DAI for fixup
Vinod Koul
vinod.koul at intel.com
Wed Sep 27 08:51:43 CEST 2017
On Tue, Sep 26, 2017 at 10:35:13PM -0700, Harsha Priya wrote:
> 'Kbl Audio Headset Playback' FE DAI also needs SSP hw param fix.
> Add this dai also to be handled in kabylake_ssp_fixup() call.
Acked-By: Vinod Koul <vinod.koul at intel.com>
> Signed-off-by: Harsha Priya <harshapriya.n at intel.com>
> ---
> v2: change patch title and log
>
> 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
>
--
~Vinod
More information about the Alsa-devel
mailing list