提交 0f8c0f8a 编写于 作者: M Michal Suchanek 提交者: Vinod Koul

soundwire: depend on ACPI || OF

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: a2e48458 ("soundwire: core: add device tree support for slave devices")
Signed-off-by: NMichal Suchanek <msuchanek@suse.de>
Link: https://lore.kernel.org/r/0b89b4ea16a93f523105c81a2f718b0cd7ec66f2.1570097621.git.msuchanek@suse.deSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 52eb063d
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
menuconfig SOUNDWIRE menuconfig SOUNDWIRE
tristate "SoundWire support" tristate "SoundWire support"
depends on ACPI depends on ACPI || OF
help help
SoundWire is a 2-Pin interface with data and clock line ratified SoundWire is a 2-Pin interface with data and clock line ratified
by the MIPI Alliance. SoundWire is used for transporting data by the MIPI Alliance. SoundWire is used for transporting data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册