summaryrefslogtreecommitdiff
path: root/sound/soc/intel/bytcr_dpcm_rt5640.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/bytcr_dpcm_rt5640.c')
-rw-r--r--sound/soc/intel/bytcr_dpcm_rt5640.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/intel/bytcr_dpcm_rt5640.c b/sound/soc/intel/bytcr_dpcm_rt5640.c
index 59308629043e..3b262d01c1b3 100644
--- a/sound/soc/intel/bytcr_dpcm_rt5640.c
+++ b/sound/soc/intel/bytcr_dpcm_rt5640.c
@@ -113,9 +113,7 @@ static int byt_codec_fixup(struct snd_soc_pcm_runtime *rtd,
channels->min = channels->max = 2;
/* set SSP2 to 24-bit */
- snd_mask_set(&params->masks[SNDRV_PCM_HW_PARAM_FORMAT -
- SNDRV_PCM_HW_PARAM_FIRST_MASK],
- SNDRV_PCM_FORMAT_S24_LE);
+ params_set_format(params, SNDRV_PCM_FORMAT_S24_LE);
return 0;
}