mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 08:24:47 +01:00
soundwire: intel_init: pass link information as platform data
It's not clear how this code ever worked, the link information is used in intel.c but never passed as platform_data. 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/20200531182102.27840-6-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
dd906cc615
commit
4ab34412fc
1 changed files with 2 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ static struct sdw_intel_ctx
|
|||
pdevinfo.name = "int-sdw";
|
||||
pdevinfo.id = i;
|
||||
pdevinfo.fwnode = acpi_fwnode_handle(adev);
|
||||
pdevinfo.data = link;
|
||||
pdevinfo.size_data = sizeof(*link);
|
||||
|
||||
pdev = platform_device_register_full(&pdevinfo);
|
||||
if (IS_ERR(pdev)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue