summaryrefslogtreecommitdiff
path: root/sound/core/device.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-03 19:54:44 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-04 10:13:48 +0100
commit3e23c658833f135508127c955d40d7c9387f71dd (patch)
tree846afbfa16ad9ea004495260e28bc92224c1f610 /sound/core/device.c
parent2ad5dd8dc31137a050f205525a5cd1a4be76c3f1 (diff)
[ALSA] Revert the nested-device patch
Modules: ALSA Core Revert the nested-device patch to keep the compatibility with the current HAL configuration. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/device.c')
-rw-r--r--sound/core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/device.c b/sound/core/device.c
index 478264cab67e..b1cf6ec56784 100644
--- a/sound/core/device.c
+++ b/sound/core/device.c
@@ -193,7 +193,7 @@ int snd_device_register_all(struct snd_card *card)
int err;
snd_assert(card != NULL, return -ENXIO);
- list_for_each_prev(list, &card->devices) {
+ list_for_each(list, &card->devices) {
dev = snd_device(list);
if (dev->state == SNDRV_DEV_BUILD && dev->ops->dev_register) {
if ((err = dev->ops->dev_register(dev)) < 0)