projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5992c58
)
ASoC: sn95031: Do not use static variable for channel_index
author
Axel Lin
<axel.lin@gmail.com>
Fri, 30 Sep 2011 05:56:59 +0000
(13:56 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 30 Sep 2011 11:56:16 +0000
(12:56 +0100)
No reason to use static variable for channel_index.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sn95031.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/sn95031.c
b/sound/soc/codecs/sn95031.c
index 8f8ce5f8acc6e0649359980cc90df38a1e9185f3..5c5a4abfc001acd9113fba098abd3b73e97f2a30 100644
(file)
--- a/
sound/soc/codecs/sn95031.c
+++ b/
sound/soc/codecs/sn95031.c
@@
-102,7
+102,7
@@
static int sn95031_initialize_adc(struct snd_soc_codec *sn95031_codec)
{
int base_addr, chnl_addr;
int value;
-
static
int channel_index;
+ int channel_index;
/* Index of the first channel in which the stop bit is set */
channel_index = find_free_channel(sn95031_codec);