]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Power down codec automatically at registration
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Feb 2015 08:58:14 +0000 (09:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Feb 2015 14:37:08 +0000 (15:37 +0100)
commit5e307d6adec0c0a51a2ad375149d677519b527ec
tree0ff2706a48999e1b0c04a2fc6f5a412f08d7e2f5
parent4787dc6ca80b2e1944458975ee769b4586f9b842
ALSA: hda - Power down codec automatically at registration

So far, we let the controller driver power down the all codecs at the
end of probe.  But this can be done better in the codec's dev_register
callback.  This results in the reduction of duplicated codes in each
control driver.

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