OSDN Git Service

soundwire: intel: introduce helper for link synchronization
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jul 2020 15:09:42 +0000 (23:09 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 21 Jul 2020 10:35:40 +0000 (16:05 +0530)
commit437e3289b5eadb62803f024eea6e85ecb7adf6a2
treea2da6bab6224683833eae53ce2a48f5e8e6b4b53
parent02629e4548277e0abfd334385e96b32e474c6f60
soundwire: intel: introduce helper for link synchronization

After arming the synchronization, the SYNCGO field controls the
hardware-based synchronization between links.

Move the programming and wait for clear of SYNCGO to dedicated helper.

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/20200716150947.22119-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c