Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25255
b: refs/heads/master
c: 82756b2
h: refs/heads/master
i:
  25253: da64084
  25251: 9ab5278
  25247: 0800291
v: v3
  • Loading branch information
Rene Herman authored and Jaroslav Kysela committed Mar 31, 2006
1 parent a5c6e97 commit f0b540f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43560116d1f70de274915fdec0745c6e02feef30
refs/heads/master: 82756b2785c5f08204e7f3dab64e12d4533bfe89
4 changes: 2 additions & 2 deletions trunk/sound/isa/cmi8330.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f0b540f

Please sign in to comment.