ALSA: hda - Move one-time init codes from generic_hdmi_init()
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2012 14:32:22 +0000 (16:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2012 14:32:22 +0000 (16:32 +0200)
commit8b8d654b55648561287bd8baca0f75f964a17038
tree42e48385c076b8e797042f3c1e5ef99b05d05e86
parent1ade819181e9b4ab4de1ab0ac0b865d946fefc17
ALSA: hda - Move one-time init codes from generic_hdmi_init()

The codes to initialize work struct or create a proc interface should
be called only once and never although it's called many times through
the init callback.  Move that stuff into patch_generic_hdmi() so that
it's called only once.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c