diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-02-01 09:05:29 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-02-01 09:06:24 +0100 |
commit | d8f489355cff55b30731354317739a00cf1238bd (patch) | |
tree | e628c44aad6bcd6af85448e227d38760e2693155 /sound/usb/helper.c | |
parent | f8e5f90b3a53bb75f05124ed19156388379a337d (diff) | |
download | talos-op-linux-d8f489355cff55b30731354317739a00cf1238bd.tar.gz talos-op-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 'sound/usb/helper.c')
0 files changed, 0 insertions, 0 deletions