projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57c0eb
)
ALSA: hda - Register (new) devices at reconfig
author
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Feb 2009 23:13:19 +0000
(
00:13
+0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Feb 2009 23:13:19 +0000
(
00:13
+0100)
The devices that have been newly added during reconfig must be
registered. Otherwise they won't be visible to user-space.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_hwdep.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_hwdep.c
b/sound/pci/hda/hda_hwdep.c
index
300ab40
..
482fb03
100644
(file)
--- a/
sound/pci/hda/hda_hwdep.c
+++ b/
sound/pci/hda/hda_hwdep.c
@@
-175,7
+175,7
@@
static int reconfig_codec(struct hda_codec *codec)
err = snd_hda_codec_build_controls(codec);
if (err < 0)
return err;
- return
0
;
+ return
snd_card_register(codec->bus->card)
;
}
/*