soundwire: Intel: add trigger callback
authorBard Liao <yung-chuan.liao@linux.intel.com>
Fri, 8 Jul 2022 06:13:11 +0000 (14:13 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jul 2022 13:26:13 +0000 (14:26 +0100)
commit6d1c1a73e1126572de0a8b063fe62fe43786ed59
tree72a0c08f1167f06221e03483fcb766b42238179b
parent4e90651e52100ffb55828c0a6e4f1480eaa7b508
soundwire: Intel: add trigger callback

When a pipeline is split into FE and BE parts, the BE pipeline may need to
be triggered separately in the BE trigger op. So add the trigger callback
in the link_res ops that will be invoked during BE DAI trigger.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220708061312.25878-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/intel.c
include/linux/soundwire/sdw_intel.h