soundwire: depend on ACPI || OF
authorMichal Suchanek <msuchanek@suse.de>
Thu, 3 Oct 2019 10:13:55 +0000 (12:13 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 15 Oct 2019 10:45:58 +0000 (16:15 +0530)
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>
drivers/soundwire/Kconfig

index c73bfbaa26596cebb480928cb7816674ef546898..c8c80df090d13f36affe45241575b398aa2d7339 100644 (file)
@@ -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