summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2020-05-10 16:42:56 +0900
committerTakashi Iwai <tiwai@suse.de>2020-05-10 12:03:47 +0200
commitbbd6aac3ae15bef762af03bf62e35ace5c4292bd (patch)
tree57074a5c2e2805374f2ad6f9c46d7efb8ea848c6 /net/mac80211
parent69efd5c4bd4c0e5e0d5388aa21d71d1313714a0e (diff)
ALSA: fireface: fix configuration error for nominal sampling transfer frequency
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: 60aec494b389 ("ALSA: fireface: support allocate_resources operation in latter protocol") Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20200510074301.116224-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions