From: Srinivas Kandagatla srinivas.kandagatla@linaro.org
device_node pointer is required for scanning slave devices, update it from the master device.
Signed-off-by: Srinivas Kandagatla srinivas.kandagatla@linaro.org Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com --- drivers/soundwire/master.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/soundwire/master.c b/drivers/soundwire/master.c index fbfa1c35137d..817ad434d4af 100644 --- a/drivers/soundwire/master.c +++ b/drivers/soundwire/master.c @@ -51,6 +51,7 @@ struct sdw_master_device init_completion(&md->probe_complete);
md->dev.parent = parent; + md->dev.of_node = parent->of_node; md->dev.fwnode = fwnode; md->dev.bus = &sdw_bus_type; md->dev.type = &sdw_master_type;