linux-yocto/drivers/firmware
Richard Fitzgerald fe08b7d508
firmware: cs_dsp: Remove async regmap writes
Change calls to async regmap write functions to use the normal
blocking writes so that the cs35l56 driver can use spi_bus_lock() to
gain exclusive access to the SPI bus.

As this is part of a fix, it makes only the minimal change to swap the
functions to the blocking equivalents. There's no need to risk
reworking the buffer allocation logic that is now partially redundant.

The async writes are a 12-year-old workaround for inefficiency of
synchronous writes in the SPI subsystem. The SPI subsystem has since
been changed to avoid the overheads, so this workaround should not be
necessary.

The cs35l56 driver needs to use spi_bus_lock() prevent bus activity
while it is soft-resetting the cs35l56. But spi_bus_lock() is
incompatible with spi_async() calls, which will fail with -EBUSY.

Fixes: 8a731fd37f ("ASoC: cs35l56: Move utility functions to shared file")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250225131843.113752-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-02-25 15:06:57 +00:00
..
arm_ffa firmware: arm_ffa: Fix the race around setting ffa_dev->properties 2024-12-04 09:59:54 +00:00
arm_scmi Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
broadcom MIPS: BCM47XX: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:51 -07:00
cirrus firmware: cs_dsp: Remove async regmap writes 2025-02-25 15:06:57 +00:00
efi Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
google firmware: google: vpd: Use const 'struct bin_attribute' callback 2024-12-17 03:59:31 +00:00
imx firmware: arm_scmi: Fix i.MX build dependency 2024-12-03 15:47:11 +00:00
meson firmware: meson_sm: add missing MODULE_DESCRIPTION() macro 2024-06-24 10:08:53 +02:00
microchip firmware: microchip: fix UL_IAP lock check in mpfs_auto_update_state() 2024-12-05 15:08:51 +00:00
psci arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate 2024-10-31 17:52:13 +00:00
qcom firmware: qcom: scm: add calls for wrapped key support 2025-01-08 17:11:07 -06:00
smccc arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint 2024-11-07 11:18:52 +00:00
tegra Revert "firmware: tegra: bpmp: Use scoped device node handling to simplify error paths" 2024-10-24 18:38:07 +02:00
xilinx Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
arm_scpi.c Char/Misc/IIO/Whatever driver subsystem updates for 6.13-rc1 2024-11-29 11:58:27 -08:00
arm_sdei.c firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state() 2024-10-23 16:19:03 +01:00
dmi_scan.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
dmi-id.c firmware: dmi-id: add a release callback function 2024-04-08 09:34:24 +02:00
dmi-sysfs.c firmware: dmi-sysfs: handle HAS_IOPORT=n 2023-05-31 19:17:29 +01:00
edd.c edd: make kobj_type structure constant 2023-03-09 18:07:33 +01:00
iscsi_ibft_find.c iscsi_ibft: Fix finding the iBFT under Xen Dom 0 2023-06-26 07:47:11 +02:00
iscsi_ibft.c
Kconfig video: Add helpers for decoding screen_info 2024-02-14 10:09:13 +01:00
Makefile Core: 2024-01-12 13:54:25 -08:00
memmap.c firmware: memmap: Constify memmap_ktype 2024-10-13 17:22:33 +02:00
mtk-adsp-ipc.c firmware: Switch back to struct platform_driver::remove() 2024-11-12 12:55:56 +01:00
qemu_fw_cfg.c firmware: Switch back to struct platform_driver::remove() 2024-11-12 12:55:56 +01:00
raspberrypi.c firmware: Switch back to struct platform_driver::remove() 2024-11-12 12:55:56 +01:00
stratix10-rsu.c firmware: Switch back to struct platform_driver::remove() 2024-11-12 12:55:56 +01:00
stratix10-svc.c firmware: stratix10-svc: Use kthread_run_on_cpu() 2024-12-16 18:30:11 -06:00
sysfb_simplefb.c firmware/sysfb: Set firmware-framebuffer parent device 2024-02-14 10:09:17 +01:00
sysfb.c chrome platform firmware changes for 6.13 2024-11-19 10:25:47 -08:00
ti_sci.c firmware: ti_sci: Remove use of of_match_ptr() helper 2024-10-25 12:56:37 -05:00
ti_sci.h firmware: ti_sci: Introduce Power Management Ops 2024-10-25 10:45:07 -05:00
trusted_foundations.c
turris-mox-rwtm.c firmware: turris-mox-rwtm: Document the driver private data structure 2024-11-12 16:03:34 +01:00