From: Takashi Iwai Date: Thu, 11 Sep 2014 12:39:09 +0000 (+0200) Subject: ALSA: hda - Make snd_hda_jack_detect_enable_callback() returning the jack object X-Git-Tag: omap-for-v3.19/prcm-cleanup~125^2~19^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bda17b82bfa9601f167ec338755b0b96909db5a0;p=pandora-kernel.git ALSA: hda - Make snd_hda_jack_detect_enable_callback() returning the jack object STAC/IDT driver calls snd_hda_jack_tbl_get() again after calling snd_hda_jack_detect_enable_callback(). For simplifying this, let's make snd_hda_jack_detect_enable_callback() returning the pointer while handling the error with the standard IS_ERR() & co. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed