commit | 1a4ba30cced3002add8459eadcd65b8d3cd1515e | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Feb 24 11:50:11 2015 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Mar 03 11:25:15 2015 +0100 |
tree | dbc0abf4782e78806b5d8a2151f41fb9257e8814 | |
parent | 820cc6cf2c552155ea919e596a85e1f4e5dfa2b5 [diff] |
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>