ASoC: Intel: Kbl: Add Playback DAI for fixup
authorHarsha Priya N <harshapriya.n@intel.com>
Wed, 27 Sep 2017 05:35:13 +0000 (22:35 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 27 Sep 2017 17:04:43 +0000 (10:04 -0700)
'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>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c

index 88ff542200075634e9a6b6e0fd0a7f1ba1dbaf7a..e7672831bc4990c6bb63d5d302f22310b1095109 100644 (file)
@@ -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;