commit | cce4aa378a049f4275416ee6302dd24f37b289df | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Dec 02 15:29:12 2011 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Dec 02 15:29:12 2011 +0100 |
tree | b686554cfc7417299b37152d746f8670ee204551 | |
parent | fc084e0b930d546872ab23667052499f7daf0fed [diff] |
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: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>