From: Takashi Iwai Date: Fri, 2 Dec 2011 14:29:12 +0000 (+0100) Subject: ALSA: hda/realtek - Fix Oops in alc_mux_select() X-Git-Tag: v3.2-rc5~7^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cce4aa378a049f4275416ee6302dd24f37b289df;p=pandora-kernel.git ALSA: hda/realtek - Fix Oops in alc_mux_select() When no imux is available (e.g. a single capture source), alc_auto_init_input_src() may trigger an Oops due to the access to -1. Add a proper zero-check to avoid it. Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed