commit: 8b1aa79bdb025188987407e34065efdeba91023f Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Thu Feb 22 13:38:33 2024 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Thu Feb 22 13:38:33 2024 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=8b1aa79b
ASoC: max98388: Correct the includes Bug: https://bugs.gentoo.org/925256 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 0000_README | 4 ++++ 2700_ASoC_max98388_correct_includes.patch | 39 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/0000_README b/0000_README index 781f1dae..5bd93d3c 100644 --- a/0000_README +++ b/0000_README @@ -127,6 +127,10 @@ Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch From: https://lore.kernel.org/linux-bluetooth/[email protected]/raw Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 +Patch: 2700_ASoC_max98388_correct_includes.patch +From: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/sound/soc/codecs/max98388.c?id=832beb640e425b5d1a92d8c2002e6b8e0af693eb +Desc: ASoC: max98388: Correct the includes + Patch: 2800_amdgpu-Adj-kmalloc-array-calls-for-new-Walloc-size.patch From: [email protected] Desc: amdgpu: Adjust kmalloc_array calls for new -Walloc-size diff --git a/2700_ASoC_max98388_correct_includes.patch b/2700_ASoC_max98388_correct_includes.patch new file mode 100644 index 00000000..c24d6bed --- /dev/null +++ b/2700_ASoC_max98388_correct_includes.patch @@ -0,0 +1,39 @@ +From 832beb640e425b5d1a92d8c2002e6b8e0af693eb Mon Sep 17 00:00:00 2001 +From: Linus Walleij <[email protected]> +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 <[email protected]> +Link: https://lore.kernel.org/r/[email protected] +Signed-off-by: Mark Brown <[email protected]> +--- + 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 +
