aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/isabelle.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/isabelle.c')
-rw-r--r--sound/soc/codecs/isabelle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/isabelle.c b/sound/soc/codecs/isabelle.c
index 53b455b8c07a..5839048ec467 100644
--- a/sound/soc/codecs/isabelle.c
+++ b/sound/soc/codecs/isabelle.c
@@ -951,11 +951,11 @@ static int isabelle_hw_params(struct snd_pcm_substream *substream,
951 ISABELLE_FS_RATE_MASK, fs_val); 951 ISABELLE_FS_RATE_MASK, fs_val);
952 952
953 /* bit size */ 953 /* bit size */
954 switch (params_format(params)) { 954 switch (params_width(params)) {
955 case SNDRV_PCM_FORMAT_S20_3LE: 955 case 20:
956 aif |= ISABELLE_AIF_LENGTH_20; 956 aif |= ISABELLE_AIF_LENGTH_20;
957 break; 957 break;
958 case SNDRV_PCM_FORMAT_S32_LE: 958 case 32:
959 aif |= ISABELLE_AIF_LENGTH_32; 959 aif |= ISABELLE_AIF_LENGTH_32;
960 break; 960 break;
961 default: 961 default: