Message ID | 1506490513-20672-1-git-send-email-harshapriya.n@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
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@intel.com> > Signed-off-by: Harsha Priya <harshapriya.n@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 >
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;
'Kbl Audio Headset Playback' FE DAI also needs SSP hw param fix. Add this dai also to be handled in kabylake_ssp_fixup() call. Signed-off-by: Harsha Priya <harshapriya.n@intel.com> --- v2: change patch title and log sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 1 + 1 file changed, 1 insertion(+)