diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-04-03 21:13:50 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-04-05 21:36:11 +0200 |
commit | 5b33504bada4d85092b69b3aaa7048c398b21dbb (patch) | |
tree | bd495b65bea0bc0925915623b2358b4358457aad /crypto/ansi_cprng.c | |
parent | fdb2b2eee6bc33f4dcb1b05176e3008a4e494612 (diff) | |
download | linux-stable-5b33504bada4d85092b69b3aaa7048c398b21dbb.tar.gz linux-stable-5b33504bada4d85092b69b3aaa7048c398b21dbb.tar.bz2 linux-stable-5b33504bada4d85092b69b3aaa7048c398b21dbb.zip |
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: 5992e30034c4 ("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>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions