linux/sound/soc/sunxi
Chen-Yu Tsai 51b0909d0b
ASoC: sun4i-spdif: Make reset control non-optional and check for all errors
The logic around the reset control is weird. The driver already has
quirks describing which compatible strings require a reset control, but
the reset control is acquired using the "optional" API. Then any errors
other than deferred probe are ignored.

Instead, switch to the non-optional variant. Also use the deassered
variant to simplify the code. This also fixes a missing reset assert
upon removal.

Last, clean up the error message printing with dev_err_probe().

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20260323172450.1259111-1-wens@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-03-24 00:11:20 +00:00
..
Kconfig ASoC: sunxi: Standardize ASoC menu 2025-06-24 01:01:27 +01:00
Makefile ASoC: sunxi: Add Allwinner H6 Digital MIC driver 2022-09-19 17:52:47 +01:00
sun4i-codec.c ASoC: sunxi: sun4i-codec: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:34 +00:00
sun4i-i2s.c ASoC: Updates for v6.12 2024-09-14 09:09:59 +02:00
sun4i-spdif.c ASoC: sun4i-spdif: Make reset control non-optional and check for all errors 2026-03-24 00:11:20 +00:00
sun8i-adda-pr-regmap.c
sun8i-adda-pr-regmap.h
sun8i-codec-analog.c ASoC: sunxi: sun8i-codec-analog: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:36 +00:00
sun8i-codec.c ASoC: sunxi: sun8i-codec: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:37 +00:00
sun50i-codec-analog.c ASoC: sunxi: sun50i-codec-analog: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:35 +00:00
sun50i-dmic.c ASoC: sunxi: sun50i-dmic: Add missing check for devm_regmap_init_mmio 2026-01-27 12:46:04 +00:00