aboutsummaryrefslogtreecommitdiffstats
path: root/patches/1166-ASoC-sh-Drop-SUPERH-platform-dependency.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/1166-ASoC-sh-Drop-SUPERH-platform-dependency.patch')
-rw-r--r--patches/1166-ASoC-sh-Drop-SUPERH-platform-dependency.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/patches/1166-ASoC-sh-Drop-SUPERH-platform-dependency.patch b/patches/1166-ASoC-sh-Drop-SUPERH-platform-dependency.patch
new file mode 100644
index 00000000000000..019e3281cb9758
--- /dev/null
+++ b/patches/1166-ASoC-sh-Drop-SUPERH-platform-dependency.patch
@@ -0,0 +1,34 @@
+From f0f9c4509d3a8dfc490178d167c93b95c6492f0c Mon Sep 17 00:00:00 2001
+From: Geert Uytterhoeven <geert+renesas@glider.be>
+Date: Fri, 20 Apr 2018 16:22:14 +0200
+Subject: [PATCH 1166/1795] ASoC: sh: Drop SUPERH platform dependency
+
+The SIU sound peripheral is used only on SuperH SH-Mobile platforms.
+As both SUPERH and ARCH_SHMOBILE are set for these platforms, the SUPERH
+dependency can be dropped.
+
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+Signed-off-by: Mark Brown <broonie@kernel.org>
+(cherry picked from commit 4070d91754039e88f7b64e462f3d0d8cdb4be041)
+Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+---
+ sound/soc/sh/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig
+index 1aa5cd77ca24..365f46321147 100644
+--- a/sound/soc/sh/Kconfig
++++ b/sound/soc/sh/Kconfig
+@@ -28,7 +28,7 @@ config SND_SOC_SH4_FSI
+
+ config SND_SOC_SH4_SIU
+ tristate
+- depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
++ depends on ARCH_SHMOBILE && HAVE_CLK
+ select DMA_ENGINE
+ select DMADEVICES
+ select SH_DMAE
+--
+2.19.0
+