]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/soc/intel/cht_bsw_rt5645.c
Merge branch 'topic/jack' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[karo-tx-linux.git] / sound / soc / intel / cht_bsw_rt5645.c
index 0bfca2192ca095cd82404e156b22e9fe8250fbac..012227997ed9ca07a64311597fb07aeeeaa4199a 100644 (file)
@@ -203,9 +203,7 @@ static int cht_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;
 }