linux_dsm_epyc7002/sound
Takashi Sakamoto bbd6aac3ae 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: 60aec494b3 ("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>
2020-05-10 12:03:47 +02:00
..
ac97
aoa
arm ASoC: arm: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:56 +00:00
atmel
core ALSA: Replace zero-length array with flexible-array 2020-05-07 22:30:36 +02:00
drivers ALSA: portman2x4: Use bitwise instead of arithmetic operator for flags 2020-05-07 09:07:15 +02:00
firewire ALSA: fireface: fix configuration error for nominal sampling transfer frequency 2020-05-10 12:03:47 +02:00
hda ALSA: hda: Allow SST driver on SKL and KBL platforms with DMIC 2020-05-07 09:08:12 +02:00
i2c
isa ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-05-01 12:25:49 +02:00
mips ALSA: sgio2audio: Remove usage of dropped hw_params/hw_free functions 2020-03-06 12:06:41 +01:00
oss .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
parisc
pci ALSA: hda: Use hdac_to_hda_codec macro 2020-05-05 08:59:02 +02:00
pcmcia
ppc ALSA: sound/ppc: Use bitwise instead of arithmetic operator for flags 2020-05-07 09:06:11 +02:00
sh
soc ALSA: hda: Use hdac_to_hda_codec macro 2020-05-05 08:59:02 +02:00
sparc
spi
synth
usb ALSA: Replace zero-length array with flexible-array 2020-05-07 22:30:36 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c