aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_controller.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-19 18:12:22 +0100
committerTakashi Iwai <tiwai@suse.de>2015-02-19 21:41:40 +0100
commit96d2bd6e3cdf57926f80605d6e28051bb6b24eb3 (patch)
treedd8378bc79a3bda6ef23786970789deb46801564 /sound/pci/hda/hda_controller.h
parentALSA: hda - Drop azx_mixer_create() (diff)
downloadlinux-dev-96d2bd6e3cdf57926f80605d6e28051bb6b24eb3.tar.xz
linux-dev-96d2bd6e3cdf57926f80605d6e28051bb6b24eb3.zip
ALSA: hda - Split azx_codec_create() to two phases
azx_create_codec() function does actually two things: create a bus and probe codecs. For the future work, split this to two logical functions, azx_bus_create() and azx_probe_codecs(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_controller.h')
-rw-r--r--sound/pci/hda/hda_controller.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_controller.h b/sound/pci/hda/hda_controller.h
index 79808e1a79ac..0d09aa6b49ac 100644
--- a/sound/pci/hda/hda_controller.h
+++ b/sound/pci/hda/hda_controller.h
@@ -432,9 +432,8 @@ void azx_enter_link_reset(struct azx *chip);
irqreturn_t azx_interrupt(int irq, void *dev_id);
/* Codec interface */
-int azx_codec_create(struct azx *chip, const char *model,
- unsigned int max_slots,
- int *power_save_to);
+int azx_bus_create(struct azx *chip, const char *model, int *power_save_to);
+int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
int azx_codec_configure(struct azx *chip);
int azx_init_stream(struct azx *chip);