summaryrefslogtreecommitdiff
path: root/sound/usb/usx2y/usx2yhwdeppcm.c
diff options
context:
space:
mode:
authorJaejoong Kim <climbbb.kim@gmail.com>2017-12-04 15:31:49 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-16 10:33:49 +0100
commit90a20a81dc1c05ceb8dc215d9e475b5cc66241a8 (patch)
tree1ecafb56ab3fa848736d1346282d29ed1a96e4f6 /sound/usb/usx2y/usx2yhwdeppcm.c
parent9f5c6b108850b020b74175b8aa0cec88303869cf (diff)
ALSA: usb-audio: Add check return value for usb_string()
commit 89b89d121ffcf8d9546633b98ded9d18b8f75891 upstream. 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: Jaejoong Kim <climbbb.kim@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/usx2y/usx2yhwdeppcm.c')
0 files changed, 0 insertions, 0 deletions