summaryrefslogtreecommitdiff
path: root/system/easy-kernel/0300-correct-max98388-includes.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-28 03:47:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 05:22:46 -0600
commit88e399e2e647db0405caf35791a9301368eb3d7f (patch)
treed3e59df50a8979fa4791c3876277148ee30eca34 /system/easy-kernel/0300-correct-max98388-includes.patch
parent7fac6e084ed43016a9746e99bfb55daa7a3d1e66 (diff)
downloadpackages-88e399e2e647db0405caf35791a9301368eb3d7f.tar.gz
packages-88e399e2e647db0405caf35791a9301368eb3d7f.tar.bz2
packages-88e399e2e647db0405caf35791a9301368eb3d7f.tar.xz
packages-88e399e2e647db0405caf35791a9301368eb3d7f.zip
system/easy-kernel: Update to 6.6.58-mc2
Includes oldconfigs for all arches, but only tested on ppc64 so far.
Diffstat (limited to 'system/easy-kernel/0300-correct-max98388-includes.patch')
-rw-r--r--system/easy-kernel/0300-correct-max98388-includes.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/system/easy-kernel/0300-correct-max98388-includes.patch b/system/easy-kernel/0300-correct-max98388-includes.patch
new file mode 100644
index 000000000..c24d6bed5
--- /dev/null
+++ b/system/easy-kernel/0300-correct-max98388-includes.patch
@@ -0,0 +1,39 @@
+From 832beb640e425b5d1a92d8c2002e6b8e0af693eb Mon Sep 17 00:00:00 2001
+From: Linus Walleij <linus.walleij@linaro.org>
+Date: Mon, 11 Sep 2023 10:23:51 +0200
+Subject: ASoC: max98388: Correct the includes
+
+The MAX98388 driver is using the modern GPIO descriptor API
+but uses legacy includes. Include the proper <linux/consumer.h>
+header instead.
+
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+Link: https://lore.kernel.org/r/20230911-descriptors-asoc-max-v2-4-b9d793fb768e@linaro.org
+Signed-off-by: Mark Brown <broonie@kernel.org>
+---
+ sound/soc/codecs/max98388.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+(limited to 'sound/soc/codecs/max98388.c')
+
+diff --git a/sound/soc/codecs/max98388.c b/sound/soc/codecs/max98388.c
+index cde5e85946cb88..078adec29312d0 100644
+--- a/sound/soc/codecs/max98388.c
++++ b/sound/soc/codecs/max98388.c
+@@ -3,12 +3,11 @@
+
+ #include <linux/acpi.h>
+ #include <linux/delay.h>
+-#include <linux/gpio.h>
++#include <linux/gpio/consumer.h>
+ #include <linux/i2c.h>
+ #include <linux/module.h>
+ #include <linux/mod_devicetable.h>
+ #include <linux/of.h>
+-#include <linux/of_gpio.h>
+ #include <linux/pm_runtime.h>
+ #include <linux/regmap.h>
+ #include <linux/slab.h>
+--
+cgit 1.2.3-korg
+