projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2822a9d
)
ASoC: isabelle: Use params_width() rather than memory format
author
Mark Brown
<broonie@linaro.org>
Wed, 8 Jan 2014 19:50:38 +0000
(19:50 +0000)
committer
Mark Brown
<broonie@linaro.org>
Mon, 13 Jan 2014 11:45:52 +0000
(11:45 +0000)
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/isabelle.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/isabelle.c
b/sound/soc/codecs/isabelle.c
index
53b455b
..
5839048
100644
(file)
--- 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,
ISABELLE_FS_RATE_MASK, fs_val);
/* bit size */
- switch (params_
format
(params)) {
- case
SNDRV_PCM_FORMAT_S20_3LE
:
+ switch (params_
width
(params)) {
+ case
20
:
aif |= ISABELLE_AIF_LENGTH_20;
break;
- case
SNDRV_PCM_FORMAT_S32_LE
:
+ case
32
:
aif |= ISABELLE_AIF_LENGTH_32;
break;
default: