diff options
author | 2020-02-01 09:05:29 +0100 | |
---|---|---|
committer | 2020-02-01 09:06:24 +0100 | |
commit | d8f489355cff55b30731354317739a00cf1238bd (patch) | |
tree | e628c44aad6bcd6af85448e227d38760e2693155 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: usb-audio: Fix endianess in descriptor validation (diff) | |
download | wireguard-linux-d8f489355cff55b30731354317739a00cf1238bd.tar.xz wireguard-linux-d8f489355cff55b30731354317739a00cf1238bd.zip |
ALSA: usb-audio: Annotate endianess in Scarlett gen2 quirk
The Scarlett gen2 mixer quirk code defines a few record types to
communicate via USB hub, and those must be all little-endian.
This patch changes the field types to LE to annotate endianess
properly. It also fixes the incorrect usage of leXX_to_cpu() in a
couple of places, which was caught by sparse after this change.
Fixes: 9e4d5c1be21f ("ALSA: usb-audio: Scarlett Gen 2 mixer interface")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200201080530.22390-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions