linux_dsm_epyc7002/sound
Jia-Ju Bai 2589bd8242
ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe
snd_cht_mc_probe() is never called in atomic context.
This function is only set as ".probe" in "struct platform_driver".

Despite never getting called from atomic context,
snd_cht_mc_probe() calls devm_kzalloc() with GFP_ATOMIC,
which waits busily for allocation.
GFP_ATOMIC is not necessary and can be replaced with GFP_KERNEL,
to avoid busy waiting and improve the possibility of sucessful allocation.

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-04-16 11:53:40 +01:00
..
ac97
aoa
arm
atmel
core ALSA: pcm: Remove WARN_ON() at snd_pcm_hw_params() error 2018-04-09 17:39:31 +02:00
drivers ALSA: aloop: Mark paused device as inactive 2018-03-27 08:00:28 +02:00
firewire treewide: remove large struct-pass-by-value from tracepoint arguments 2018-03-28 22:55:18 +02:00
hda
i2c
isa
mips
oss
parisc
pci amdgpu, omap and snd regression fix 2018-04-12 20:56:10 -07:00
pcmcia
ppc
sh
soc ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe 2018-04-16 11:53:40 +01:00
sparc
spi
synth
usb ALSA: usb-audio: Add sanity checks in UAC3 clock parsers 2018-04-07 13:07:17 +02:00
x86
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c