diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-06-06 18:12:16 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-25 14:51:23 +0200 |
commit | 6194b99de9f52b9953b7cf2b48ce0da9276af9c3 (patch) | |
tree | 59f288253169717f17c00d0282c9c1b626cb5a05 /sound/pci/hda/hda_generic.c | |
parent | 79514d473b097da82f5bc0b4e41251c44e29d98c (diff) | |
download | op-kernel-dev-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.zip op-kernel-dev-6194b99de9f52b9953b7cf2b48ce0da9276af9c3.tar.gz |
ALSA: hda - Kill the rest of snd_print*() usages
Pass the codec object so that we can replace all the rest of
snd_print*() usages with the proper device-specific print helpers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r-- | sound/pci/hda/hda_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 589e47c..a24c7b2 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -3054,7 +3054,7 @@ static int parse_capture_source(struct hda_codec *codec, hda_nid_t pin, if (spec->hp_mic_pin == pin) spec->hp_mic_mux_idx = imux->num_items; spec->imux_pins[imux->num_items] = pin; - snd_hda_add_imux_item(imux, label, cfg_idx, NULL); + snd_hda_add_imux_item(codec, imux, label, cfg_idx, NULL); imux_added = true; if (spec->dyn_adc_switch) spec->dyn_adc_idx[imux_idx] = c; |