Skip to content

Commit eb3f551

Browse files
committed
soundwire: intel_ace2x: add check_cmdsync_unlocked helper
This is the last callback needed for all bus management routines on new hardware. Same concept as before, just different register. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 4e024a8 commit eb3f551

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/soundwire/intel_ace2x.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ static int intel_sync_go(struct sdw_intel *sdw)
186186
return ret;
187187
}
188188

189+
static bool intel_check_cmdsync_unlocked(struct sdw_intel *sdw)
190+
{
191+
return hdac_bus_eml_sdw_check_cmdsync_unlocked(sdw->link_res->hbus);
192+
}
193+
189194
/*
190195
* DAI operations
191196
*/
@@ -366,6 +371,7 @@ const struct sdw_intel_hw_ops sdw_intel_lnl_hw_ops = {
366371
.sync_arm = intel_sync_arm,
367372
.sync_go_unlocked = intel_sync_go_unlocked,
368373
.sync_go = intel_sync_go,
374+
.sync_check_cmdsync_unlocked = intel_check_cmdsync_unlocked,
369375
};
370376
EXPORT_SYMBOL_NS(sdw_intel_lnl_hw_ops, SOUNDWIRE_INTEL);
371377

0 commit comments

Comments
 (0)