summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/Kconfig
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-10-03 12:13:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-12 19:27:03 +0100
commit0f2a6868ecd28ff70d770043e4d7b832b6cc028b (patch)
treefd5a0e5b34909d5a31a62b2c977407de177987d7 /drivers/soundwire/Kconfig
parent9bc2e8c5f0d506a9ef2d76871d012510c46299a9 (diff)
downloadlinux-stable-0f2a6868ecd28ff70d770043e4d7b832b6cc028b.tar.gz
linux-stable-0f2a6868ecd28ff70d770043e4d7b832b6cc028b.tar.bz2
linux-stable-0f2a6868ecd28ff70d770043e4d7b832b6cc028b.zip
soundwire: depend on ACPI || OF
commit 0f8c0f8a7782178c40157b2feb6a532493cbadd3 upstream. Now devicetree is supported for probing soundwire as well. On platforms built with !ACPI !OF (ie s390x) the device still cannot be probed and gives a build warning. Cc: stable@vger.kernel.org Fixes: a2e484585ad3 ("soundwire: core: add device tree support for slave devices") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Link: https://lore.kernel.org/r/0b89b4ea16a93f523105c81a2f718b0cd7ec66f2.1570097621.git.msuchanek@suse.de Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soundwire/Kconfig')
-rw-r--r--drivers/soundwire/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig
index c73bfbaa2659..c8c80df090d1 100644
--- a/drivers/soundwire/Kconfig
+++ b/drivers/soundwire/Kconfig
@@ -5,7 +5,7 @@
menuconfig SOUNDWIRE
tristate "SoundWire support"
- depends on ACPI
+ depends on ACPI || OF
help
SoundWire is a 2-Pin interface with data and clock line ratified
by the MIPI Alliance. SoundWire is used for transporting data