ALSA: hda - Set current_headset_type to ALC_HEADSET_TYPE_ENUM (janitorial)
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 22 Nov 2013 11:17:06 +0000 (12:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2013 11:58:01 +0000 (12:58 +0100)
commit5db4d34b54c7726253926223580c516f244f9c31
treef84c47a358e890561138167fa0016361547cd54f
parentd08c5ef2a039393eaf2ab2152db5f07790fa0f40
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>
sound/pci/hda/patch_realtek.c