linux/sound
Luo Yifan 63c1c87993
ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
This patch checks if div is less than or equal to zero (div <= 0). If
div is zero or negative, the function returns -EINVAL, ensuring the
division operation (*prate / div) is safe to perform.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
Link: https://patch.msgid.link/20241106014654.206860-1-luoyifan@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-11-07 13:07:16 +00:00
..
ac97
aoa ALSA: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-09-20 17:44:52 +02:00
arm
atmel
core ALSA: core: add isascii() check to card ID generator 2024-10-03 09:16:58 +02:00
drivers
firewire ALSA: firewire: use nonatomic PCM operation 2024-09-04 21:51:54 +09:00
hda ASoC: Intel: sst: Support LPE0F28 ACPI HID 2024-10-25 14:10:11 +01:00
i2c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
isa ALSA: gus: Fix some error handling paths related to get_bpos() usage 2024-10-04 09:02:30 +02:00
mips
oss [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
parisc
pci sound fixes for 6.12-rc2 2024-10-04 11:29:46 -07:00
pcmcia
ppc
sh
soc ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate() 2024-11-07 13:07:16 +00:00
sparc
spi
synth
usb ALSA: line6: add hw monitor volume control to POD HD500X 2024-10-04 09:05:24 +02:00
virtio
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c