linux/sound/firewire/motu
Takashi Sakamoto 5b33504bad ALSA: firewire-motu: remove invalid bitshift for register value
In protocol version 3, drivers can read current sampling clock status from
register 0x'ffff'f000'0b14. 8 bits of LSB of this register represents type
of signal as source of clock.

Current driver code includes invalid bitshift to handle the parameter. This
commit fixes the bug.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 5992e30034 ("ALSA: firewire-motu: add support for MOTU 828mk3 (FireWire/Hybrid) as a model with protocol version 3")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-04-05 21:36:11 +02:00
..
amdtp-motu.c ALSA: firewire-motu: add support for MOTU 828mk3 (FireWire/Hybrid) as a model with protocol version 3 2017-03-28 12:34:13 +02:00
Makefile ALSA: firewire-motu: add support for MOTU 828mk3 (FireWire/Hybrid) as a model with protocol version 3 2017-03-28 12:34:13 +02:00
motu-hwdep.c ALSA: firewire-motu: enable to read transaction cache via hwdep interface 2017-03-28 12:34:06 +02:00
motu-midi.c ALSA: firewire-motu: add hwdep interface 2017-03-28 12:34:02 +02:00
motu-pcm.c ALSA: firewire-motu: add hwdep interface 2017-03-28 12:34:02 +02:00
motu-proc.c ALSA: firewire-motu: add proc node to show current statuc of clock and packet formats 2017-03-28 12:33:51 +02:00
motu-protocol-v2.c ALSA: firewire-motu: add support for MOTU 828mk2 as a model with protocol version 2 2017-03-28 12:34:08 +02:00
motu-protocol-v3.c ALSA: firewire-motu: remove invalid bitshift for register value 2017-04-05 21:36:11 +02:00
motu-stream.c ALSA: firewire-motu: add hwdep interface 2017-03-28 12:34:02 +02:00
motu-transaction.c ALSA: firewire-motu: enable to read transaction cache via hwdep interface 2017-03-28 12:34:06 +02:00
motu.c ALSA: firewire-motu: add support for MOTU 828mk3 (FireWire/Hybrid) as a model with protocol version 3 2017-03-28 12:34:13 +02:00
motu.h ALSA: firewire-motu: add support for MOTU 828mk3 (FireWire/Hybrid) as a model with protocol version 3 2017-03-28 12:34:13 +02:00