[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200416205524.2043-3-yung-chuan.liao@linux.intel.com>
Date: Fri, 17 Apr 2020 04:55:21 +0800
From: Bard Liao <yung-chuan.liao@...ux.intel.com>
To: alsa-devel@...a-project.org, vkoul@...nel.org
Cc: linux-kernel@...r.kernel.org, tiwai@...e.de, broonie@...nel.org,
gregkh@...uxfoundation.org, jank@...ence.com,
srinivas.kandagatla@...aro.org, rander.wang@...ux.intel.com,
ranjani.sridharan@...ux.intel.com, hui.wang@...onical.com,
pierre-louis.bossart@...ux.intel.com, sanyog.r.kale@...el.com,
slawomir.blauciak@...el.com, mengdong.lin@...el.com
Subject: [RFC 2/5] soundwire: master: use device node pointer from master device
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
device_node pointer is required for scanning slave devices, update
it from the master device.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@...ux.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 094518817601..c930c871caae 100644
--- a/drivers/soundwire/master.c
+++ b/drivers/soundwire/master.c
@@ -49,6 +49,7 @@ struct sdw_master_device
md->link_ops = link_ops;
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;
--
2.17.1
Powered by blists - more mailing lists