Simon Trimmer f3c6051477
spi: cs42l43: Add GPIO speaker id support to the bridge configuration
OEMs can use the spk-id-gpios ACPI property to indicate the type of
speakers fitted to a device.

Attempt to read a spk-id value using the GPIO method when a usable
spk-id value is not obtained from the 01fa-spk-id-val ACPI property.

Obtaining the spk-id value has been moved earlier in the function to the
other sidecar block, so that an -EPROBE_DEFER from a GPIO driver is
handled more efficiently.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20241112131434.678882-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-11-13 13:24:16 +00:00
..
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-10-08 18:17:33 +01:00
2024-09-30 01:12:21 +02:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-09-30 01:12:21 +02:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-09-30 22:43:40 +01:00
2024-10-07 14:53:15 +01:00
2024-11-12 13:08:39 +00:00