aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-11-22 06:17:06 -0500
committerTakashi Iwai <tiwai@suse.de>2013-11-22 06:58:01 -0500
commit5db4d34b54c7726253926223580c516f244f9c31 (patch)
treef84c47a358e890561138167fa0016361547cd54f /sound
parentd08c5ef2a039393eaf2ab2152db5f07790fa0f40 (diff)
ALSA: hda - Set current_headset_type to ALC_HEADSET_TYPE_ENUM (janitorial)
current_headset_type should be of the HEADSET_TYPE enum, not the HEADSET_MODE enum. Since ALC_HEADSET_TYPE_UNKNOWN and ALC_HEADSET_MODE_UNKNOWN are both 0, this patch is just janitorial. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 6d8d9b3520d0..5e42059f10a1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3414,7 +3414,7 @@ static void alc_update_headset_mode_hook(struct hda_codec *codec,
3414static void alc_update_headset_jack_cb(struct hda_codec *codec, struct hda_jack_tbl *jack) 3414static void alc_update_headset_jack_cb(struct hda_codec *codec, struct hda_jack_tbl *jack)
3415{ 3415{
3416 struct alc_spec *spec = codec->spec; 3416 struct alc_spec *spec = codec->spec;
3417 spec->current_headset_type = ALC_HEADSET_MODE_UNKNOWN; 3417 spec->current_headset_type = ALC_HEADSET_TYPE_UNKNOWN;
3418 snd_hda_gen_hp_automute(codec, jack); 3418 snd_hda_gen_hp_automute(codec, jack);
3419} 3419}
3420 3420