2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/sound/soc
Richard Fitzgerald 3b3312f28e
ASoC: cs35l56: probe() should fail if the device ID is not recognized
Return an error from driver probe if the DEVID read from the chip is not
one supported by this driver.

In cs35l56_hw_init() there is a check for valid DEVID, but the invalid
case was returning the value of ret. At this point in the code ret == 0
so the caller would think that cs35l56_hw_init() was successful.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 84851aa055 ("ASoC: cs35l56: Move part of cs35l56_init() to shared library")
Link: https://patch.msgid.link/20250703102521.54204-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-07-03 12:22:27 +01:00
..
adi
amd ASoC: amd: ps: fix for soundwire failures during hibernation exit sequence 2025-06-23 14:20:29 +01:00
apple ASoC: apple: mca: Drop default ARCH_APPLE in Kconfig 2025-06-13 12:12:26 +01:00
atmel ASoC: atmel: tse850-pcm5142: Use SOC_SINGLE_EXT() helper macro 2025-03-03 18:14:53 +00:00
au1x ASoC: au1x: Convert to DEFINE_SIMPLE_DEV_PM_OPS() 2025-03-17 10:13:47 +00:00
bcm
cirrus
codecs ASoC: cs35l56: probe() should fail if the device ID is not recognized 2025-07-03 12:22:27 +01:00
dwc ASoC: dwc: always enable/disable i2s irqs 2025-04-06 23:18:15 +01:00
fsl ASoC: fsl_sai: Force a software reset when starting in consumer mode 2025-06-29 22:10:26 +01:00
generic AsoC: Phase out hybrid PCI devres 2025-05-06 08:42:25 +09:00
google
hisilicon
img ASoC: img: Convert to RUNTIME_PM_OPS() and co 2025-03-17 10:14:40 +00:00
intel ASoC: Intel: sof_sdw: Add quirks for Lenovo P1 and P16 2025-07-02 12:29:09 +01:00
jz4740
kirkwood
loongson ASoC: loongson: Fix build warnings about export.h 2025-06-08 23:29:06 +01:00
mediatek Merge branch 'for-linus' into for-next 2025-05-22 20:34:24 +02:00
meson ASoC: meson: meson-card-utils: use of_property_present() for DT parsing 2025-04-24 12:56:15 +01:00
mxs
pxa
qcom ASoC: qcom: sm8250: Fix possibly undefined reference 2025-06-23 00:26:25 +01:00
renesas AsoC: Phase out hybrid PCI devres 2025-05-06 08:42:25 +09:00
rockchip ASoC: rockchip: add Serial Audio Interface (SAI) driver 2025-04-22 15:35:17 +01:00
samsung ASoC: samsung: Convert to RUNTIME_PM_OPS() & co 2025-03-17 10:14:54 +00:00
sdca ASoC: SDCA: Create DAI drivers from DisCo 2025-05-20 11:15:40 +01:00
sdw_utils ASoC: sdw_utils: Fix potential NULL pointer deref in is_sdca_endpoint_present() 2025-06-10 12:46:16 +01:00
sof ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak. 2025-06-24 16:39:42 +01:00
spear
sprd
starfive ASoC: starfive: Use max() to simplify code in jh7110_tdm_syncdiv() 2025-04-25 13:20:00 +01:00
sti
stm AsoC: Phase out hybrid PCI devres 2025-05-06 08:42:25 +09:00
sunxi ASoC: sun8i-codec: Remove unnecessary NULL check before clk_prepare_enable/clk_disable_unprepare 2025-04-06 23:25:13 +01:00
tegra ASoC: tegra: Tegra264 support in isomgr_bw 2025-05-22 11:02:12 +01:00
ti ASoC: ti: omap-hdmi: Re-add dai_link->platform to fix card init 2025-06-02 12:27:43 +01:00
uniphier
ux500
xilinx
xtensa ASoC: xtensa: Convert to RUNTIME_PM_OPS() 2025-03-17 10:15:03 +00:00
Kconfig ASoC: Add SoC USB APIs for adding an USB backend 2025-04-11 13:02:31 +02:00
Makefile ASoC: Add SoC USB APIs for adding an USB backend 2025-04-11 13:02:31 +02:00
soc-ac97.c ASoC: soc-ac97: use new GPIO line value setter callbacks 2025-04-13 20:23:14 +01:00
soc-acpi.c
soc-card-test.c
soc-card.c
soc-component.c
soc-compress.c
soc-core.c ASoC: soc-core: merge snd_soc_unregister_component() and snd_soc_unregister_component_by_driver() 2025-05-12 21:09:44 +09:00
soc-dai.c ASoC: soc-dai: add snd_soc_dai_mute_is_ctrled_at_trigger() 2025-03-06 15:38:44 +00:00
soc-dapm.c ASoC: dapm: Add component level pin switches 2025-05-20 11:15:38 +01:00
soc-devres.c ASoC: core: Complete support for card rebinding 2025-04-06 23:25:11 +01:00
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops-test.c ASoC: ops-test: Add some basic kunit tests for soc-ops 2025-03-19 12:47:57 +00:00
soc-ops.c ASoC: ops: Apply platform_max after deciding control type 2025-03-19 17:56:36 +00:00
soc-pcm.c ASoC: pcm: Do not open FEs with no BEs connected 2025-06-02 12:27:42 +01:00
soc-topology-test.c
soc-topology.c ASoC: ops: Remove snd_soc_put_volsw_range() 2025-03-19 12:48:05 +00:00
soc-usb.c ASoC: usb: Rediscover USB SND devices on USB port add 2025-04-11 13:02:31 +02:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Check string pointer validity in snd_soc_dlc_is_dummy() 2025-05-16 13:18:15 +02:00