commit | 2b54f785b4d4894ab7ab3bf5e461e0819d221c1c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Apr 23 15:19:25 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Apr 24 13:36:28 2018 +0200 |
tree | 0e5a0425bea9f41d405ef214689c10b9a40c4370 | |
parent | 2de841efaeafa9f597e495ffdf5a024079c4bfe7 [diff] |
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>