projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e721701
)
ALSA: usb: fcp: Fix incorrect resp->opcode retrieval
author
Takashi Iwai
<tiwai@suse.de>
Tue, 21 Jan 2025 17:00:30 +0000
(18:00 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 21 Jan 2025 17:01:42 +0000
(18:01 +0100)
Fix a wrong conversion macro used for resp->opcode, which is __le32.
Fixes:
46757a3e7d50
("ALSA: FCP: Add Focusrite Control Protocol driver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/
202501212331
.SaePSmsA-lkp@intel.com/
Link:
https://patch.msgid.link/20250121170032.7236-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/fcp.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/fcp.c
b/sound/usb/fcp.c
index 92e3caab0b826e755102ef5c9cd94feb0aebedff..cfa131b35e4391e79f1096a1e1e4d9150dcf456e 100644
(file)
--- a/
sound/usb/fcp.c
+++ b/
sound/usb/fcp.c
@@
-266,7
+266,7
@@
retry:
if (req->opcode != resp->opcode) {
usb_audio_err(mixer->chip,
"FCP response %08x opcode mismatch %08x\n",
- opcode, le
16
_to_cpu(resp->opcode));
+ opcode, le
32
_to_cpu(resp->opcode));
return -EINVAL;
}