diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-04-23 15:19:25 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-04-24 13:36:28 +0200 |
commit | 2b54f785b4d4894ab7ab3bf5e461e0819d221c1c (patch) | |
tree | 0e5a0425bea9f41d405ef214689c10b9a40c4370 /fs/ocfs2/heartbeat.h | |
parent | 2de841efaeafa9f597e495ffdf5a024079c4bfe7 (diff) | |
download | linux-2b54f785b4d4894ab7ab3bf5e461e0819d221c1c.tar.bz2 |
ALSA: usb-audio: Fix missing endian conversion
The UAC2 jack detection support introduced the bmControls checks in a
couple of places, but they forgot the endian conversion; the
bmControls of UAC2 terminal descriptor is __le16, not a byte like in
UAC1.
Fixes: 5a222e849452 ("ALSA: usb-audio: UAC2 jack detection")
Tested-by: Andrew Chant <achant@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/ocfs2/heartbeat.h')
0 files changed, 0 insertions, 0 deletions