projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
125a25d
)
ASoC: wm8962: Fix word length configuration
author
Susan Gao
<
[email protected]
>
Mon, 30 Jan 2012 21:57:04 +0000
(13:57 -0800)
committer
Mark Brown
<
[email protected]
>
Wed, 1 Feb 2012 10:07:20 +0000
(10:07 +0000)
Signed-off-by: Susan Gao <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm8962.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8962.c
b/sound/soc/codecs/wm8962.c
index bda3da887d7e316c062c38a6a3d11426a008a42f..29c4b02c4790681743ba82e6e3c3d6d87c558b8e 100644
(file)
--- a/
sound/soc/codecs/wm8962.c
+++ b/
sound/soc/codecs/wm8962.c
@@
-3159,13
+3159,13
@@
static int wm8962_hw_params(struct snd_pcm_substream *substream,
case SNDRV_PCM_FORMAT_S16_LE:
break;
case SNDRV_PCM_FORMAT_S20_3LE:
- aif0 |= 0x4
0
;
+ aif0 |= 0x4;
break;
case SNDRV_PCM_FORMAT_S24_LE:
- aif0 |= 0x8
0
;
+ aif0 |= 0x8;
break;
case SNDRV_PCM_FORMAT_S32_LE:
- aif0 |= 0xc
0
;
+ aif0 |= 0xc;
break;
default:
return -EINVAL;