projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793f770
)
ASoC: max98090: Use params_width() rather than memory format
author
Mark Brown
<broonie@linaro.org>
Wed, 8 Jan 2014 20:39:30 +0000
(20:39 +0000)
committer
Mark Brown
<broonie@linaro.org>
Mon, 13 Jan 2014 11:45:53 +0000
(11:45 +0000)
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/max98090.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/max98090.c
b/sound/soc/codecs/max98090.c
index 0569a4c3ae00e7ce8b8fb27952387d87913f4098..51f9b3d16b41dbf4cc80dddc6d0a081ccb83fe90 100644
(file)
--- a/
sound/soc/codecs/max98090.c
+++ b/
sound/soc/codecs/max98090.c
@@
-1840,8
+1840,8
@@
static int max98090_dai_hw_params(struct snd_pcm_substream *substream,
max98090->lrclk = params_rate(params);
- switch (params_
format
(params)) {
- case
SNDRV_PCM_FORMAT_S16_LE
:
+ switch (params_
width
(params)) {
+ case
16
:
snd_soc_update_bits(codec, M98090_REG_INTERFACE_FORMAT,
M98090_WS_MASK, 0);
break;