mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
cb1bcf5ed5
In MOTU protocol v2/v3, first two data chunks across 2nd and 3rd data
channels includes message bytes from device. The total size of message
is 48 bits per data block.
The 'data_block_message' tracepoints event produced by ALSA firewire-motu
driver exposes the sequence of messages to userspace in 64 bit storage,
however lower 32 bits are actually available since current implementation
truncates 16 bits in upper of the message as a result of bit shift
operation within 32 bit storage.
This commit fixes the bug by perform the bit shift in 64 bit storage.
Fixes:
|
||
---|---|---|
.. | ||
amdtp-motu-trace.h | ||
amdtp-motu.c | ||
Makefile | ||
motu-hwdep.c | ||
motu-midi.c | ||
motu-pcm.c | ||
motu-proc.c | ||
motu-protocol-v1.c | ||
motu-protocol-v2.c | ||
motu-protocol-v3.c | ||
motu-stream.c | ||
motu-transaction.c | ||
motu.c | ||
motu.h |