mbox series

[0/2] soundwire: cadence: remove dma_data

Message ID 20221101023521.2384586-1-yung-chuan.liao@linux.intel.com (mailing list archive)
Headers show
Series soundwire: cadence: remove dma_data | expand

Message

Bard Liao Nov. 1, 2022, 2:35 a.m. UTC
The use of dma_data is problematic for two reasons for the Cadence IP.
a) the dai runtime data has nothing to do with DMAs in existing solutions
b) we will use the dma_data for DMA-management in the future. We cannot
share two separate pieces of information with the same dma_data pointer.

Pierre-Louis Bossart (2):
  soundwire: cadence: rename sdw_cdns_dai_dma_data as
    sdw_cdns_dai_runtime
  soundwire: cadence: use dai_runtime_array instead of dma_data

 drivers/soundwire/cadence_master.c |  50 +++++++------
 drivers/soundwire/cadence_master.h |   9 ++-
 drivers/soundwire/intel.c          | 111 ++++++++++++++---------------
 3 files changed, 86 insertions(+), 84 deletions(-)

Comments

Vinod Koul Nov. 9, 2022, 4:29 a.m. UTC | #1
On 01-11-22, 10:35, Bard Liao wrote:
> The use of dma_data is problematic for two reasons for the Cadence IP.
> a) the dai runtime data has nothing to do with DMAs in existing solutions
> b) we will use the dma_data for DMA-management in the future. We cannot
> share two separate pieces of information with the same dma_data pointer.

Applied, thanks