diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-01-29 17:27:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-01 13:57:25 +0100 |
commit | 245eeff18d7a37693815250ae15979ce98c3d190 (patch) | |
tree | 81c0f66feea1941e90d2ad38a2099ce451f88601 /security/lockdown | |
parent | ASoC: cs35l56: Firmware file must match the version of preloaded firmware (diff) | |
download | linux-245eeff18d7a37693815250ae15979ce98c3d190.tar.xz linux-245eeff18d7a37693815250ae15979ce98c3d190.zip |
ASoC: cs35l56: Load tunings for the correct speaker models
If the "spk-id-gpios" property is present it points to GPIOs whose
value must be used to select the correct bin file to match the
speakers.
Some manufacturers use multiple sources of speakers, which need
different tunings for best performance. On these models the type of
speaker fitted is indicated by the values of one or more GPIOs. The
number formed by the GPIOs identifies the tuning required.
The speaker ID must be used in combination with the subsystem ID
(either from PCI SSID or cirrus,firmware-uid property), because the
GPIOs can only indicate variants of a specific model.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 1a1c3d794ef6 ("ASoC: cs35l56: Use PCI SSID as the firmware UID")
Link: https://msgid.link/r/20240129162737.497-14-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'security/lockdown')
0 files changed, 0 insertions, 0 deletions