ALSA: hda - Don't call snd_hda_codec_configure in snd_hda_codec_new()
authorTakashi Iwai <tiwai@suse.de>
Wed, 17 Jun 2009 07:33:52 +0000 (09:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Jun 2009 09:52:59 +0000 (11:52 +0200)
commita1e21c9078fb8005e5accb921696ec9e2f38176e
tree53b6495d7d60354688031b28aa331d7e58286d6e
parent8c8145b8734028f6deb487f7d64748da4c6c39ac
ALSA: hda - Don't call snd_hda_codec_configure in snd_hda_codec_new()

The codec setup call via snd_hda_codec_configure() isn't necessarily
called in snd_hda_codec_new().  For the later added feature, it's better
to change the code flow like:
 - create all codec instances
 - configure each codec

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_local.h