Loading sound/pci/hda/hda_generic.c +0 −23 Original line number Diff line number Diff line Loading @@ -4026,29 +4026,6 @@ int snd_hda_gen_add_micmute_led(struct hda_codec *codec, } EXPORT_SYMBOL_GPL(snd_hda_gen_add_micmute_led); /** * snd_hda_gen_fixup_micmute_led - A fixup for mic-mute LED trigger * * Pass this function to the quirk entry if another driver supports the * audio mic-mute LED trigger. Then this will bind the mixer capture switch * change with the LED. * * Note that this fixup has to be called after other fixup that sets * cap_sync_hook. Otherwise the chaining wouldn't work. * * @codec: the HDA codec * @fix: fixup pointer * @action: only supports HDA_FIXUP_ACT_PROBE value * */ void snd_hda_gen_fixup_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) { if (action == HDA_FIXUP_ACT_PROBE) snd_hda_gen_add_micmute_led(codec, NULL); } EXPORT_SYMBOL_GPL(snd_hda_gen_fixup_micmute_led); /** * snd_dha_gen_add_micmute_led_cdev - Create a LED classdev and enable as mic-mute LED * @codec: the HDA codec Loading sound/pci/hda/hda_generic.h +0 −2 Original line number Diff line number Diff line Loading @@ -357,8 +357,6 @@ int snd_hda_gen_fix_pin_power(struct hda_codec *codec, hda_nid_t pin); int snd_hda_gen_add_micmute_led(struct hda_codec *codec, void (*hook)(struct hda_codec *)); void snd_hda_gen_fixup_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action); int snd_hda_gen_add_micmute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness)); Loading Loading
sound/pci/hda/hda_generic.c +0 −23 Original line number Diff line number Diff line Loading @@ -4026,29 +4026,6 @@ int snd_hda_gen_add_micmute_led(struct hda_codec *codec, } EXPORT_SYMBOL_GPL(snd_hda_gen_add_micmute_led); /** * snd_hda_gen_fixup_micmute_led - A fixup for mic-mute LED trigger * * Pass this function to the quirk entry if another driver supports the * audio mic-mute LED trigger. Then this will bind the mixer capture switch * change with the LED. * * Note that this fixup has to be called after other fixup that sets * cap_sync_hook. Otherwise the chaining wouldn't work. * * @codec: the HDA codec * @fix: fixup pointer * @action: only supports HDA_FIXUP_ACT_PROBE value * */ void snd_hda_gen_fixup_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action) { if (action == HDA_FIXUP_ACT_PROBE) snd_hda_gen_add_micmute_led(codec, NULL); } EXPORT_SYMBOL_GPL(snd_hda_gen_fixup_micmute_led); /** * snd_dha_gen_add_micmute_led_cdev - Create a LED classdev and enable as mic-mute LED * @codec: the HDA codec Loading
sound/pci/hda/hda_generic.h +0 −2 Original line number Diff line number Diff line Loading @@ -357,8 +357,6 @@ int snd_hda_gen_fix_pin_power(struct hda_codec *codec, hda_nid_t pin); int snd_hda_gen_add_micmute_led(struct hda_codec *codec, void (*hook)(struct hda_codec *)); void snd_hda_gen_fixup_micmute_led(struct hda_codec *codec, const struct hda_fixup *fix, int action); int snd_hda_gen_add_micmute_led_cdev(struct hda_codec *codec, int (*callback)(struct led_classdev *, enum led_brightness)); Loading