diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-24 11:50:11 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-03 11:25:15 +0100 |
commit | 1a4ba30cced3002add8459eadcd65b8d3cd1515e (patch) | |
tree | dbc0abf4782e78806b5d8a2151f41fb9257e8814 /sound/pci/hda/hda_codec.h | |
parent | ALSA: hda - Clear pcm pointer assigned to hda_pcm at device removal (diff) | |
download | linux-1a4ba30cced3002add8459eadcd65b8d3cd1515e.tar.xz linux-1a4ba30cced3002add8459eadcd65b8d3cd1515e.zip |
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>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 457fc589eb46..8cf70369cd10 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -517,6 +517,7 @@ int snd_hda_codec_build_controls(struct hda_codec *codec); * PCM */ int snd_hda_build_pcms(struct hda_bus *bus); +int snd_hda_codec_parse_pcms(struct hda_codec *codec); int snd_hda_codec_build_pcms(struct hda_codec *codec); int snd_hda_codec_prepare(struct hda_codec *codec, |