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:
30ba6e2
)
[ALSA] Fix compile warnings in ak4xxx-adda.c
author
Takashi Iwai
<tiwai@suse.de>
Wed, 9 Aug 2006 12:33:27 +0000
(14:33 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sat, 23 Sep 2006 08:40:32 +0000
(10:40 +0200)
Fixed compile warnings in ak4xxx-adda.c reagarding missing
enum cases in switch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/i2c/other/ak4xxx-adda.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/i2c/other/ak4xxx-adda.c
b/sound/i2c/other/ak4xxx-adda.c
index d76d8b078a817244f575a8aee405f60e7e5a4e7c..0aea536a3371bde7f1c85f94a26a6a0b1aca6e9a 100644
(file)
--- a/
sound/i2c/other/ak4xxx-adda.c
+++ b/
sound/i2c/other/ak4xxx-adda.c
@@
-137,6
+137,8
@@
void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state)
case SND_AK4381:
ak4381_reset(ak, state);
break;
+ default:
+ break;
}
}
@@
-727,6
+729,9
@@
int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak)
case SND_AK4381:
ctl->private_value = AK_COMPOSE(idx, 1, 1, 0);
break;
+ default:
+ err = -EINVAL;
+ goto __error;
}
ctl->private_data = ak;
err = snd_ctl_add(ak->card,