diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-19 20:12:22 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-19 23:41:40 +0300 |
commit | 96d2bd6e3cdf57926f80605d6e28051bb6b24eb3 (patch) | |
tree | dd8378bc79a3bda6ef23786970789deb46801564 /sound/pci/hda/hda_controller.h | |
parent | b8f28d53641f13902790904ab15028ff8ecd0882 (diff) | |
download | linux-96d2bd6e3cdf57926f80605d6e28051bb6b24eb3.tar.xz |
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.h | 5 |
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); |