diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-12-02 15:29:12 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-02 15:29:12 +0100 |
commit | cce4aa378a049f4275416ee6302dd24f37b289df (patch) | |
tree | b686554cfc7417299b37152d746f8670ee204551 /lib | |
parent | fc084e0b930d546872ab23667052499f7daf0fed (diff) | |
download | op-kernel-dev-cce4aa378a049f4275416ee6302dd24f37b289df.zip op-kernel-dev-cce4aa378a049f4275416ee6302dd24f37b289df.tar.gz |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions