From: Kailang Yang Date: Thu, 3 Apr 2014 09:28:39 +0000 (+0800) Subject: ALSA: hda/realtek - Fixed single output machine get empty hp sense X-Git-Tag: v3.15-rc1~36^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8314f22589297bdb100788112f901fe885edacbc;p=pandora-kernel.git ALSA: hda/realtek - Fixed single output machine get empty hp sense If it only has single output of HP out of machine. The driver parser will copy hp_pins to line_out_pins. hp_pins will empty for alc283_init and alc283_shutup functions. This will cause not have value for hp_pin_sense. Add check line_out_type code will solve it . Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed