Skip to content

Commit

Permalink
mfd: cs42l43: Increase the SoundWire attach timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Charles Keepax authored and Lee Jones committed Dec 17, 2024
1 parent a57f93b commit 47dde1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/cs42l43.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#define CS42L43_RESET_DELAY_MS 20

#define CS42L43_SDW_ATTACH_TIMEOUT_MS 500
#define CS42L43_SDW_ATTACH_TIMEOUT_MS 5000
#define CS42L43_SDW_DETACH_TIMEOUT_MS 100

#define CS42L43_MCU_BOOT_STAGE1 1
Expand Down

0 comments on commit 47dde1a

Please sign in to comment.