linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bard Liao <yung-chuan.liao@linux.intel.com>
To: alsa-devel@alsa-project.org, vkoul@kernel.org
Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org,
	pierre-louis.bossart@linux.intel.com, bard.liao@intel.com
Subject: [PATCH 0/2] soundwire: cadence: remove dma_data
Date: Tue,  1 Nov 2022 10:35:19 +0800	[thread overview]
Message-ID: <20221101023521.2384586-1-yung-chuan.liao@linux.intel.com> (raw)

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(-)

-- 
2.25.1


             reply	other threads:[~2022-11-01  2:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01  2:35 Bard Liao [this message]
2022-11-01  2:35 ` [PATCH 1/2] soundwire: cadence: rename sdw_cdns_dai_dma_data as sdw_cdns_dai_runtime Bard Liao
2022-11-01  2:35 ` [PATCH 2/2] soundwire: cadence: use dai_runtime_array instead of dma_data Bard Liao
2022-11-09  4:29 ` [PATCH 0/2] soundwire: cadence: remove dma_data Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221101023521.2384586-1-yung-chuan.liao@linux.intel.com \
    --to=yung-chuan.liao@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bard.liao@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=vinod.koul@linaro.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).