Skip to content

Commit 0242840

Browse files
plbossartvinodkoul
authored andcommitted
soundwire: intel: remove .trigger callback implementation
The interface is not needed for IPC3 solutions but will be needed with an updated parameter list for ACE2.x+IPC4 combinations. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20230515071042.2038-24-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 1d905d3 commit 0242840

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

drivers/soundwire/intel.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -872,18 +872,9 @@ static int intel_trigger(struct snd_pcm_substream *substream, int cmd, struct sn
872872
{
873873
struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai);
874874
struct sdw_intel *sdw = cdns_to_intel(cdns);
875-
struct sdw_intel_link_res *res = sdw->link_res;
876875
struct sdw_cdns_dai_runtime *dai_runtime;
877876
int ret = 0;
878877

879-
/*
880-
* The .trigger callback is used to send required IPC to audio
881-
* firmware. The .free_stream callback will still be called
882-
* by intel_free_stream() in the TRIGGER_SUSPEND case.
883-
*/
884-
if (res->ops && res->ops->trigger)
885-
res->ops->trigger(dai, cmd, substream->stream);
886-
887878
dai_runtime = cdns->dai_runtime_array[dai->id];
888879
if (!dai_runtime) {
889880
dev_err(dai->dev, "failed to get dai runtime in %s\n",

0 commit comments

Comments
 (0)