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:
4356011
)
[ALSA] ISA drivers bailing on first !enable[i]
author
Rene Herman
<rene.herman@keyaccess.nl>
Mon, 27 Mar 2006 11:50:11 +0000
(13:50 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 31 Mar 2006 15:58:58 +0000
(17:58 +0200)
Fix the wrong check of enable option in cmi8330 driver.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cmi8330.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/isa/cmi8330.c
b/sound/isa/cmi8330.c
index fa63048a8b9d75960a7ec13a030d0b6b7abcf0a8..bc0f5ebf5d3c835cb600a18565919b8729b03b57 100644
(file)
--- a/
sound/isa/cmi8330.c
+++ b/
sound/isa/cmi8330.c
@@
-693,9
+693,9
@@
static int __init alsa_card_cmi8330_init(void)
if ((err = platform_driver_register(&snd_cmi8330_driver)) < 0)
return err;
- for (i = 0; i < SNDRV_CARDS
&& enable[i]
; i++) {
+ for (i = 0; i < SNDRV_CARDS; i++) {
struct platform_device *device;
- if (is_isapnp_selected(i))
+ if (
! enable[i] ||
is_isapnp_selected(i))
continue;
device = platform_device_register_simple(CMI8330_DRIVER,
i, NULL, 0);