]> git.baikalelectronics.ru Git - 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)
commit2d65beb18b5b674d5ad23de8c392fdcbf4c2d770
tree5e84e053a59cde57f3435f754eb0198944209f95
parenta451da316096f18974083924141296d07eb68a5e
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: 01a512a6e46f("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