1 From f341deecd13b96ad61614eeff4b92afa766f7269 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 6 Mar 2023 20:48:14 +0000
4 Subject: [PATCH] ASoC: adau1977: Add correct compatible strings
6 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
8 sound/soc/codecs/adau1977-i2c.c | 10 ++++++++++
9 1 file changed, 10 insertions(+)
11 --- a/sound/soc/codecs/adau1977-i2c.c
12 +++ b/sound/soc/codecs/adau1977-i2c.c
13 @@ -38,9 +38,19 @@ static const struct i2c_device_id adau19
15 MODULE_DEVICE_TABLE(i2c, adau1977_i2c_ids);
17 +static const struct of_device_id adau1977_of_ids[] = {
18 + { .compatible = "adi,adau1977", },
19 + { .compatible = "adi,adau1978", },
20 + { .compatible = "adi,adau1979", },
23 +MODULE_DEVICE_TABLE(of, adau1977_of_ids);
26 static struct i2c_driver adau1977_i2c_driver = {
29 + .of_match_table = adau1977_of_ids,
31 .probe_new = adau1977_i2c_probe,
32 .id_table = adau1977_i2c_ids,