Skip to content

Commit 1ab88b5

Browse files
plbossartvinodkoul
authored andcommitted
soundwire: mipi-disco: add comment on DP0-supported property
The DisCo for SoundWire 2.0 spec adds support for a new property, but it's not very helpful. Add a comment to explain that it's intentionally ignored. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20241003070650.62787-13-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 4b23096 commit 1ab88b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/soundwire/mipi_disco.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,11 @@ int sdw_slave_read_prop(struct sdw_slave *slave)
398398
device_property_read_u32(dev, "mipi-sdw-sink-port-list",
399399
&prop->sink_ports);
400400

401-
/* Read dp0 properties */
401+
/*
402+
* Read dp0 properties - we don't rely on the 'mipi-sdw-dp-0-supported'
403+
* property since the 'mipi-sdw-dp0-subproperties' property is logically
404+
* equivalent.
405+
*/
402406
port = device_get_named_child_node(dev, "mipi-sdw-dp-0-subproperties");
403407
if (!port) {
404408
dev_dbg(dev, "DP0 node not found!!\n");

0 commit comments

Comments
 (0)