commit | bda17b82bfa9601f167ec338755b0b96909db5a0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Sep 11 14:39:09 2014 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Sep 15 11:50:48 2014 +0200 |
tree | 54b53015593eb1665c89855da780130c2096e12d | |
parent | 81965f1f58ce120a616f2fdd0594916fa183c5fc [diff] |
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 <tiwai@suse.de>