summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-10-08 14:59:13 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-08 14:59:13 -0700
commit8aa19ad84c38cd50bfc0560646efe1c9ca83d925 (patch)
tree46eb8d8ea64620d989cabfe89c4f1d2dbba45b63 /sound/pci/hda/hda_generic.c
parent58a2c3221e3c78ea6c71148eb84d4170358981fb (diff)
parenta25f175c2f6962c38cdbacfc4b66b297f4fb54b2 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r--sound/pci/hda/hda_generic.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 5b829a1a4c6..d0eb9f2250a 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -881,10 +881,8 @@ int snd_hda_parse_generic_codec(struct hda_codec *codec)
struct hda_gspec *spec;
int err;
- if(!codec->afg) {
- snd_printdd("hda_generic: no generic modem yet\n");
- return -ENODEV;
- }
+ if(!codec->afg)
+ return 0;
spec = kzalloc(sizeof(*spec), GFP_KERNEL);
if (spec == NULL) {