summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs35l56-spi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-08-17 19:18:58 +0100
committerMark Brown <broonie@kernel.org>2023-08-17 22:38:42 +0100
commitcfee987c92362331ea754c0fb092d5f37de0f2fb (patch)
treed8374ba1ba7975b3ec3c2b4c5dc71bf85cb72fc5 /sound/soc/codecs/cs35l56-spi.c
parent44cb08fd23feccc1e1a5019e8ddc926b01db259e (diff)
parentab0b5072d184bdb013c9c2419cb21c593fa3802a (diff)
ASoC: Merge up fixes
For the benefit of CI.
Diffstat (limited to 'sound/soc/codecs/cs35l56-spi.c')
-rw-r--r--sound/soc/codecs/cs35l56-spi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs35l56-spi.c b/sound/soc/codecs/cs35l56-spi.c
index 2057fce435be..9962703915e1 100644
--- a/sound/soc/codecs/cs35l56-spi.c
+++ b/sound/soc/codecs/cs35l56-spi.c
@@ -59,10 +59,19 @@ static const struct spi_device_id cs35l56_id_spi[] = {
};
MODULE_DEVICE_TABLE(spi, cs35l56_id_spi);
+#ifdef CONFIG_ACPI
+static const struct acpi_device_id cs35l56_asoc_acpi_match[] = {
+ { "CSC355C", 0 },
+ {},
+};
+MODULE_DEVICE_TABLE(acpi, cs35l56_asoc_acpi_match);
+#endif
+
static struct spi_driver cs35l56_spi_driver = {
.driver = {
.name = "cs35l56",
.pm = &cs35l56_pm_ops_i2c_spi,
+ .acpi_match_table = ACPI_PTR(cs35l56_asoc_acpi_match),
},
.id_table = cs35l56_id_spi,
.probe = cs35l56_spi_probe,