Skip to content
Commit 89b89d12 authored by Jaejoong Kim's avatar Jaejoong Kim Committed by Takashi Iwai
Browse files

ALSA: usb-audio: Add check return value for usb_string()



snd_usb_copy_string_desc() returns zero if usb_string() fails.
In case of failure, we need to check the snd_usb_copy_string_desc()'s
return value and add an exception case

Signed-off-by: default avatarJaejoong Kim <climbbb.kim@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 251552a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment