]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: fireworks: fix an endianness bug for transaction length
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 7 Jan 2015 15:31:16 +0000 (00:31 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Jan 2015 15:39:21 +0000 (16:39 +0100)
commit92cb46584e104e2f4b14a44959109ffe13524a26
tree5e84e053a59cde57f3435f754eb0198944209f95
parent60834b73a9c2bbc2f514122ddc626f3350fb40cd
ALSA: fireworks: fix an endianness bug for transaction length

Although the 't->length' is a big-endian value, it's used without any
conversion. This means that the driver always uses 'length' parameter.

Fixes: 555e8a8f7f14("ALSA: fireworks: Add command/response functionality into hwdep interface")
Reported-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks_transaction.c