]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Split snd_hda_build_pcms()
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Feb 2015 10:50:11 +0000 (11:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Mar 2015 10:25:15 +0000 (11:25 +0100)
commit6b65de7250bc43a0cab9a9eb2935b49e686a7e67
treedbc0abf4782e78806b5d8a2151f41fb9257e8814
parent1dd86bc7ffb7d27c59e474770585417b4efa82e0
ALSA: hda - Split snd_hda_build_pcms()

snd_hda_build_pcms() does actually three things: let the codec driver
build up hda_pcm list, set the PCM default values, and call the
attach_pcm bus ops for each hda_pcm instance.  The former two are
basically independent from the bus implementation, so it'd make the
code a bit more readable.

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