mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
33 lines
960 B
Diff
33 lines
960 B
Diff
From f341deecd13b96ad61614eeff4b92afa766f7269 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 6 Mar 2023 20:48:14 +0000
|
|
Subject: [PATCH] ASoC: adau1977: Add correct compatible strings
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
sound/soc/codecs/adau1977-i2c.c | 10 ++++++++++
|
|
1 file changed, 10 insertions(+)
|
|
|
|
--- a/sound/soc/codecs/adau1977-i2c.c
|
|
+++ b/sound/soc/codecs/adau1977-i2c.c
|
|
@@ -38,9 +38,19 @@ static const struct i2c_device_id adau19
|
|
};
|
|
MODULE_DEVICE_TABLE(i2c, adau1977_i2c_ids);
|
|
|
|
+static const struct of_device_id adau1977_of_ids[] = {
|
|
+ { .compatible = "adi,adau1977", },
|
|
+ { .compatible = "adi,adau1978", },
|
|
+ { .compatible = "adi,adau1979", },
|
|
+ { }
|
|
+};
|
|
+MODULE_DEVICE_TABLE(of, adau1977_of_ids);
|
|
+
|
|
+
|
|
static struct i2c_driver adau1977_i2c_driver = {
|
|
.driver = {
|
|
.name = "adau1977",
|
|
+ .of_match_table = adau1977_of_ids,
|
|
},
|
|
.probe_new = adau1977_i2c_probe,
|
|
.id_table = adau1977_i2c_ids,
|