Message ID | 1506462122-23828-1-git-send-email-harshapriya.n@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4b2b915f8887e5602a98b1da4fcb7c41c573cb13 |
Headers | show |
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@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@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
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 parama fix. Adding this dai also to be handled in kabylake_ssp_fixup() call. Signed-off-by: Harsha Priya <harshapriya.n@intel.com> --- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 1 + 1 file changed, 1 insertion(+)