summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-14 17:37:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 11:02:50 +0200
commitaea67cc1418252d07b9b56688f1b5fa70fcae813 (patch)
tree9c051d8cefb775eea08fd243987800cf3d7b7703 /.gitattributes
parentec8eeceb06b7a6efb6d924fd2f4ba4ec79ddc7bf (diff)
downloadlinux-aea67cc1418252d07b9b56688f1b5fa70fcae813.tar.bz2
sound: 6fire: move to use usb_control_msg_send() and usb_control_msg_recv()
The usb_control_msg_send() and usb_control_msg_recv() calls can return an error if a "short" write/read happens, so move the driver over to using those calls instead, saving some logic in the wrapper functions that were being used in this driver. This also resolves a long-staging bug where data on the stack was being sent in a USB control message, which was not allowed. Cc: Jaroslav Kysela <perex@perex.cz> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20200914153756.3412156-8-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions