diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-12-02 18:29:12 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-02 18:29:12 +0400 |
commit | cce4aa378a049f4275416ee6302dd24f37b289df (patch) | |
tree | b686554cfc7417299b37152d746f8670ee204551 /lib/hexdump.c | |
parent | fc084e0b930d546872ab23667052499f7daf0fed (diff) | |
download | linux-cce4aa378a049f4275416ee6302dd24f37b289df.tar.xz |
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/hexdump.c')
0 files changed, 0 insertions, 0 deletions