mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02:00
ALSA: usb: fcp: Fix incorrect resp->opcode retrieval
Fix a wrong conversion macro used for resp->opcode, which is __le32.
Fixes: 46757a3e7d ("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>
This commit is contained in:
parent
e7217011dd
commit
f08cc80f69
|
|
@ -266,7 +266,7 @@ retry:
|
|||
if (req->opcode != resp->opcode) {
|
||||
usb_audio_err(mixer->chip,
|
||||
"FCP response %08x opcode mismatch %08x\n",
|
||||
opcode, le16_to_cpu(resp->opcode));
|
||||
opcode, le32_to_cpu(resp->opcode));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user