Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: cs42l43: Increase the SoundWire attach timeout

Some SoundWire controllers take a very long time to fully power up. As
such, increase the timeout that the cs42l43 driver will wait for the
device to initially appear on the bus.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20241205115822.2371719-3-ckeepax@opensource.cirrus.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Charles Keepax and committed by
Lee Jones
47dde1a0 a57f93b7

+1 -1
+1 -1
drivers/mfd/cs42l43.c
··· 29 29 30 30 #define CS42L43_RESET_DELAY_MS 20 31 31 32 - #define CS42L43_SDW_ATTACH_TIMEOUT_MS 500 32 + #define CS42L43_SDW_ATTACH_TIMEOUT_MS 5000 33 33 #define CS42L43_SDW_DETACH_TIMEOUT_MS 100 34 34 35 35 #define CS42L43_MCU_BOOT_STAGE1 1