soundwire: intel_ace2x: add DAI hw_params/prepare/hw_free callbacks
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 2 Aug 2023 06:19:47 +0000 (14:19 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Aug 2023 14:38:30 +0000 (20:08 +0530)
commit8c4c9a9ae5aff2125ea44f0b26f9e3701d56d6db
treec714fb440fdc3e6b5b3bf0a381e057ec28525a4e
parente66f91a2d10b9a25eedcaddee9d6f08c8132760a
soundwire: intel_ace2x: add DAI hw_params/prepare/hw_free callbacks

The code is fork-lifted from intel.c and is mostly similar *except*
for the SHIM configuration which cannot be done here with the
introduction of HDAudio Extended links. The ACE2.x SOF side also
requires the hw_free and trigger callbacks to be implemented for
HDaudio DMA management

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230802061947.3788679-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_ace2x.c