linux/sound/soc
Christophe JAILLET fb6d679fee
ASoC: soc-pcm: use GFP_KERNEL when the code is sleepable
At the kzalloc() call in dpcm_be_connect(), there is no spin lock involved.
It's merely protected by card->pcm_mutex, instead.  The spinlock is applied
at the later call with snd_soc_pcm_stream_lock_irq() only for the list
manipulations.  (See it's *_irq(), not *_irqsave(); that means the context
being sleepable at that point.)  So, we can use GFP_KERNEL safely there.

This patch revert commit d8a9c6e1f6 ("ASoC: soc-pcm: use GFP_ATOMIC for
dpcm structure") which is no longer needed since commit b7898396f4
("ASoC: soc-pcm: Fix and cleanup DPCM locking").

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/e740f1930843060e025e3c0f17ec1393cfdafb26.1648757961.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-04 14:25:39 +01:00
..
adi
amd ASoC: Updates for v5.18 2022-03-21 16:19:21 +01:00
atmel ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek 2022-04-04 14:24:03 +01:00
au1x ASoC: au1x: Convert to modern terminology for DAI clocking 2021-09-16 14:11:37 +01:00
bcm ASoC: bcm: Use platform_get_irq() to get the interrupt 2021-12-21 18:05:43 +00:00
cirrus ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
codecs codecs: rt5682s: fix an incorrect NULL check on list iterator 2022-04-04 14:25:37 +01:00
dwc ASoC: dwc-i2s: Handle errors for clk_enable 2022-03-02 13:45:24 +00:00
fsl ASoC: Fixes for v5.18 2022-03-30 14:04:22 +02:00
generic ASoC: simple-card-utils: Don't reset clock of active DAI 2022-03-11 13:42:29 +00:00
hisilicon
img ASoC: img: Use dev_err_probe() helper 2021-12-20 12:47:16 +00:00
intel flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe 2022-03-16 16:39:25 +00:00
meson ASoC: Merge fixes 2021-12-31 13:23:28 +00:00
mxs ASoC: mxs: Fix error handling in mxs_sgtl5000_probe 2022-03-08 13:41:15 +00:00
pxa ARM: pxa: remove Intel Imote2 and Stargate 2 boards 2022-02-28 15:08:14 +01:00
qcom ASoC: Updates for v5.18 2022-03-21 16:19:21 +01:00
rockchip ASoC: rockchip: i2s_tdm: Fixup config for SND_SOC_DAIFMT_DSP_A/B 2022-03-23 12:17:52 +00:00
samsung ASoC: samsung: i2s: check the return value of kstrdup() 2022-03-16 16:39:17 +00:00
sh ASoC: fsi: Add check for clk_enable 2022-03-07 13:14:56 +00:00
sof ASoC: SOF: topology: Fix memory leak of scontrol->name 2022-04-04 14:25:38 +01:00
spear
sprd
sti ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call 2022-03-16 16:39:28 +00:00
stm ASoC: stm: Use dev_err_probe() helper 2021-12-20 12:47:23 +00:00
sunxi ASoC: sun4i-i2s: Add support for the R329/D1 variant 2022-02-03 11:30:57 +00:00
tegra ASoC: tegra20: spdif: make const array rates static 2022-02-15 12:52:44 +00:00
ti ASoC: ti: Fix spelling mistake "cant" -> "can't" 2022-03-16 16:39:21 +00:00
uniphier ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA 2021-11-25 11:54:30 +00:00
ux500 ASoC: ux500: mop500: Constify static snd_soc_ops 2021-09-29 13:06:38 +01:00
xilinx ASoC: xilinx: xlnx_i2s: Handle sysclk setting 2022-01-24 19:45:38 +00:00
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c ALSA: Replace acpi_bus_get_device() 2022-02-01 08:08:08 +01:00
soc-card.c
soc-component.c ASoC: soc-component: add snd_soc_pcm_component_delay() 2021-11-29 12:19:41 +00:00
soc-compress.c ASoC: soc-compress: Change the check for codec_dai 2022-03-14 08:29:11 +00:00
soc-core.c ASoC: Export DAI register and widget ctor and dctor functions 2022-03-11 16:23:53 +00:00
soc-dai.c ASoC: soc-dai: update snd_soc_dai_delay() to snd_soc_pcm_dai_delay() 2021-11-29 12:19:40 +00:00
soc-dapm.c ASoC: Export DAI register and widget ctor and dctor functions 2022-03-11 16:23:53 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: do not use a NULL prepare_slave_config() callback 2022-03-08 13:38:56 +00:00
soc-jack.c
soc-link.c
soc-ops.c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min 2022-02-16 16:33:48 +00:00
soc-pcm.c ASoC: soc-pcm: use GFP_KERNEL when the code is sleepable 2022-04-04 14:25:39 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create() 2022-04-04 14:25:36 +01:00
soc-utils.c ASoC: Stop dummy from overriding hwparams 2021-10-29 16:49:45 +01:00