diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-02-01 11:05:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-11 15:33:56 +0300 |
commit | a46ebc21da8a3c5f52014f2808a04fa88bba8656 (patch) | |
tree | fb82c7cd17a8dc31e9a8f6e1b10ca87d700b2f73 /sound/drivers | |
parent | e3ed79d11b2716aaca68ae9afdc79dddae53bdc9 (diff) | |
download | linux-a46ebc21da8a3c5f52014f2808a04fa88bba8656.tar.xz |
ALSA: usb-audio: Fix endianess in descriptor validation
commit f8e5f90b3a53bb75f05124ed19156388379a337d upstream.
I overlooked that some fields are words and need the converts from
LE in the recently added USB descriptor validation code.
This patch fixes those with the proper macro usages.
Fixes: 57f8770620e9 ("ALSA: usb-audio: More validations of descriptor units")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200201080530.22390-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions