commit bbd6aac3ae15bef762af03bf62e35ace5c4292bd upstream.
128000 and 192000 are congruence modulo 32000, thus it's wrong to
distinguish them as multiple of 32000 and 48000 by modulo 32000 at
first.
Additionally, used condition statement to detect quadruple speed can
cause missing bit flag.
Furthermore, counter to ensure the configuration is wrong and it
causes false positive.
This commit fixes the above three bugs.
Cc: <stable@vger.kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
amdtp-ff.c | ||
ff-hwdep.c | ||
ff-midi.c | ||
ff-pcm.c | ||
ff-proc.c | ||
ff-protocol-former.c | ||
ff-protocol-latter.c | ||
ff-stream.c | ||
ff-transaction.c | ||
ff.c | ||
ff.h | ||
Makefile |