diff options
Diffstat (limited to 'sound/soc/samsung/pcm.c')
-rw-r--r-- | sound/soc/samsung/pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index a3c9c9cba3b0..4c5f97fe45c8 100644 --- a/sound/soc/samsung/pcm.c +++ b/sound/soc/samsung/pcm.c | |||
@@ -283,8 +283,8 @@ static int s3c_pcm_hw_params(struct snd_pcm_substream *substream, | |||
283 | dev_dbg(pcm->dev, "Entered %s\n", __func__); | 283 | dev_dbg(pcm->dev, "Entered %s\n", __func__); |
284 | 284 | ||
285 | /* Strictly check for sample size */ | 285 | /* Strictly check for sample size */ |
286 | switch (params_format(params)) { | 286 | switch (params_width(params)) { |
287 | case SNDRV_PCM_FORMAT_S16_LE: | 287 | case 16: |
288 | break; | 288 | break; |
289 | default: | 289 | default: |
290 | return -EINVAL; | 290 | return -EINVAL; |