projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88d7c71
)
soundwire: intel: add multi-link hw_synchronization information
author
Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Tue, 1 Sep 2020 15:05:52 +0000
(23:05 +0800)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 3 Sep 2020 10:44:39 +0000
(16:14 +0530)
set the flags as required by hardware implementation
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/20200901150556.19432-7-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c
patch
|
blob
|
history
diff --git
a/drivers/soundwire/intel.c
b/drivers/soundwire/intel.c
index 8634d33c388c573f2dc379ce00a4191c03f36704..272826973426c891c94eb67987b0f24029154eb9 100644
(file)
--- a/
drivers/soundwire/intel.c
+++ b/
drivers/soundwire/intel.c
@@
-1400,7
+1400,14
@@
int intel_master_startup(struct platform_device *pdev)
dev_dbg(dev, "Multi-link is disabled\n");
bus->multi_link = false;
} else {
+ /*
+ * hardware-based synchronization is required regardless
+ * of the number of segments used by a stream: SSP-based
+ * synchronization is gated by gsync when the multi-master
+ * mode is set.
+ */
bus->multi_link = true;
+ bus->hw_sync_min_links = 1;
}
/* Initialize shim, controller */