summaryrefslogtreecommitdiffstats
path: root/sound/core/init.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-11-12 16:31:37 +0100
committerTakashi Iwai <tiwai@suse.de>2008-11-12 17:07:37 +0100
commitc2eb9c4ea383aee154e7139395872c4da629e715 (patch)
tree1a041003b3260354b6ad5e0ca728ff614f10ca01 /sound/core/init.c
parent9fb6198e8c574c6547fbfac0ae1eaf7894ddfdcc (diff)
downloadop-kernel-dev-c2eb9c4ea383aee154e7139395872c4da629e715.zip
op-kernel-dev-c2eb9c4ea383aee154e7139395872c4da629e715.tar.gz
ALSA: when card identification is changed, change also /proc/asound symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/init.c')
-rw-r--r--sound/core/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/init.c b/sound/core/init.c
index 5ff297d..af1e407 100644
--- a/sound/core/init.c
+++ b/sound/core/init.c
@@ -571,6 +571,7 @@ card_id_store_attr(struct device *dev, struct device_attribute *attr,
goto __exist;
}
strcpy(card->id, buf1);
+ snd_info_card_id_change(card);
mutex_unlock(&snd_card_mutex);
return count;
OpenPOWER on IntegriCloud