linux-next/sound/soc
Kuninori Morimoto 301c26a018
ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback
commit 1f56643514 ("ASoC: lower "no backend DAIs enabled for ... Port"
log severity") ignores -EINVAL error message on common soc_pcm_ret().
It is used from many functions, ignoring -EINVAL is over-kill.

The reason why -EINVAL was ignored was it really should only be used
upon invalid parameters coming from userspace and in that case we don't
want to log an error since we do not want to give userspace a way to do
a denial-of-service attack on the syslog / diskspace.

So don't use soc_pcm_ret() on .prepare callback is better idea.

Link: https://lore.kernel.org/r/87v7vptzap.wl-kuninori.morimoto.gx@renesas.com
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87bjxg8jju.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-12-16 12:31:28 +00:00
..
adi ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
amd ASoC: Merge up origin to resolve interaction with manline symbol changes 2024-12-03 22:04:07 +00:00
apple ASoC: apple: Fix the wrong format specifier 2024-11-21 14:03:18 +00:00
atmel ASoC: Updates for mchp-spdif(tx/rx) 2024-10-01 14:51:18 +01:00
au1x ASoC: constify snd_soc_component_driver struct 2024-09-30 01:10:48 +02:00
bcm ASoC: bcm63xx-pcm-whistler: fix uninit-value in i2s_dma_isr 2024-11-05 12:53:28 +00:00
cirrus soc: convert ep93xx to devicetree 2024-09-26 12:00:25 -07:00
codecs ASoC: wm8985: Remove use of i2c_match_id() 2024-12-09 13:12:46 +00:00
dwc ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
fsl ASoC: fsl: add memory to memory function for ASRC 2024-12-13 17:33:09 +00:00
generic ASoC: simple-card-utils: use for_each_of_graph_port() on graph_get_dai_id() 2024-12-09 13:11:45 +00:00
google ASoC: google: fix module autoloading 2024-08-26 15:52:07 +01:00
hisilicon ASoC: hisilicon: Drop GPIO include 2023-12-18 14:03:29 +00:00
img ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
intel ASoC: Intel: soc-acpi: arl: Add match entries for new cs42l43 laptops 2024-12-09 13:12:09 +00:00
jz4740 ASoC: jz4740: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:21 +09:00
kirkwood ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
loongson ASoC: loongson: make loongson-i2s.o a separate module 2024-10-17 12:13:10 +01:00
mediatek Linux 6.13-rc2 2024-12-09 12:50:19 +00:00
meson ASoC: meson: switch to use rtd->id from rtd->num 2024-11-01 14:48:11 +00:00
mxs ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
pxa ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
qcom ASoC: Merge up fixes 2024-11-14 11:39:47 +00:00
renesas ASoC: renesas: rz-ssi: Add suspend to RAM support 2024-12-11 13:24:07 +00:00
rockchip ASoC: rockchip: i2s-tdm: Fix a useless call issue 2024-12-02 00:30:38 +00:00
samsung ASoC: samsung: remove dpcm_xxx flags 2024-10-23 13:01:58 +01:00
sdca ASoC: Merge up origin to resolve interaction with manline symbol changes 2024-12-03 22:04:07 +00:00
sdw_utils ASoC: Merge up origin to resolve interaction with manline symbol changes 2024-12-03 22:04:07 +00:00
sof ASoC: SOF: core/Intel: Handle pause supported token 2024-12-13 17:33:00 +00:00
spear ASoC: spear: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:31 +09:00
sprd ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
starfive ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
sti ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00
stm ASoC: stm32: dfsdm: change rate upper limits 2024-11-14 11:42:42 +00:00
sunxi ASoC: sun4i-spdif: Add working 24bit audio support 2024-12-09 14:07:58 +00:00
tegra ASoC: tegra: Add support for S24_LE audio format 2024-10-22 15:06:29 +01:00
ti ASoC: rx651: Use card->dev in replace of the &pdev->dev argument in the dev_err function 2024-10-18 18:44:26 +01:00
uniphier ASoC: uniphier: Handle regmap_write errors in aio_iecout_set_enable() 2024-10-23 00:07:04 +01:00
ux500 ASoC: ux500: Remove redundant casts 2024-11-07 15:23:29 +00:00
xilinx ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
xtensa ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
Kconfig ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
Makefile ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
soc-ac97.c ASoC: soc-ac97: Fix the incorrect description 2024-09-10 12:40:24 +01:00
soc-acpi.c ASoC/soundwire: remove sdw_slave_extended_id 2024-10-17 18:42:10 +01:00
soc-card-test.c ASoC: Drop snd_soc_*_get_kcontrol_locked() 2024-08-09 14:24:55 +02:00
soc-card.c ASoC: Drop snd_soc_*_get_kcontrol_locked() 2024-08-09 14:24:55 +02:00
soc-component.c ASoC: remove unused substream in macro soc_component_mark_pop 2024-09-30 01:09:52 +02:00
soc-compress.c ASoC: add symmetric_ prefix for dai->rate/channels/sample_bits 2024-11-11 14:45:41 +00:00
soc-core.c ASoC: soc-core: tidyup ret handling for card->disable_route_checks 2024-12-16 12:31:26 +00:00
soc-dai.c ASoC: cleanup function parameter for rtd and its id 2024-11-01 14:48:16 +00:00
soc-dapm.c ASoC: dapm: fix bounds checker error in dapm_widget_list_create 2024-10-28 23:30:33 +00:00
soc-devres.c ASoC: soc-devres: Remove unused devm_snd_soc_register_dai 2024-10-28 12:23:27 +00:00
soc-generic-dmaengine-pcm.c ALSA: dmaengine: Synchronize dma channel after drop() 2024-06-11 17:13:31 +01:00
soc-jack.c ASoC: soc-jack: Get rid of legacy GPIO support 2024-03-26 17:13:45 +00:00
soc-link.c ASoC: remove unused substream in macro soc_link_mark_pop 2024-09-30 01:09:53 +02:00
soc-ops.c ASoC: ops: Simplify with cleanup.h 2024-07-08 12:50:02 +01:00
soc-pcm.c ASoC: soc-pcm: don't use soc_pcm_ret() on .prepare callback 2024-12-16 12:31:28 +00:00
soc-topology-test.c ASoC: soc-topology: remove dpcm_xxx flags 2024-10-23 13:02:02 +01:00
soc-topology.c ASoC: soc-core: tidyup ret handling for card->disable_route_checks 2024-12-16 12:31:26 +00:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Remove PAGE_SIZE compile-time constant assumption 2024-10-21 14:14:56 +01:00