soundwire: cadence: rename sdw_cdns_dai_dma_data as sdw_cdns_dai_runtime
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 1 Nov 2022 02:35:20 +0000 (10:35 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 9 Nov 2022 04:29:46 +0000 (09:59 +0530)
commite0767e391079687081c5564b1390983c36b49cd1
treee26cd0ebb25253e220441dd730fa5a180a8eb310
parentcf43cd33b67a291fadcd16b1ad2f435bd2e60749
soundwire: cadence: rename sdw_cdns_dai_dma_data as sdw_cdns_dai_runtime

The existing 'struct sdw_cdns_dma_data' has really nothing to do with
DMAs. The information is stored in the dai->dma_data, but this is
really private data that should be stored in a different context.

Beyond the academic elegance discussion, using dma_data is a problem
for new Intel hardware where the dma_data structure is already used
for true DMA handling performed by other parts of the code.

This patch prepares a transition away from the use of dma_data, for
now with a rename-only change.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20221101023521.2384586-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c
drivers/soundwire/cadence_master.h
drivers/soundwire/intel.c