|
@@ -307,7 +307,7 @@ static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
|
rate->min = rate->max = 48000;
|
|
|
channels->min = channels->max = 2;
|
|
|
snd_mask_none(fmt);
|
|
|
- snd_mask_set(fmt, SNDRV_PCM_FORMAT_S24_LE);
|
|
|
+ snd_mask_set_format(fmt, SNDRV_PCM_FORMAT_S24_LE);
|
|
|
} else if (!strcmp(fe_dai_link->name, "Kbl Audio DMIC cap")) {
|
|
|
if (params_channels(params) == 2 ||
|
|
|
DMIC_CH(dmic_constraints) == 2)
|
|
@@ -320,7 +320,7 @@ static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd,
|
|
|
* thus changing the mask here
|
|
|
*/
|
|
|
if (!strcmp(be_dai_link->name, "SSP0-Codec"))
|
|
|
- snd_mask_set(fmt, SNDRV_PCM_FORMAT_S16_LE);
|
|
|
+ snd_mask_set_format(fmt, SNDRV_PCM_FORMAT_S16_LE);
|
|
|
|
|
|
return 0;
|
|
|
}
|