All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de,
	"Pierre-Louis Bossart" <pierre-louis.bossart@linux.intel.com>,
	"Ranjani Sridharan" <ranjani.sridharan@linux.intel.com>,
	"Kai Vehmanen" <kai.vehmanen@intel.com>,
	broonie@kernel.org,
	"Péter Ujfalusi" <peter.ujfalusi@linux.intel.com>
Subject: [PATCH 6/7] ASoC: SOF: Intel: hda-dai: remove unused fields
Date: Tue,  7 Dec 2021 13:39:46 -0600	[thread overview]
Message-ID: <20211207193947.71080-7-pierre-louis.bossart@linux.intel.com> (raw)
In-Reply-To: <20211207193947.71080-1-pierre-louis.bossart@linux.intel.com>

The existing code does not use the 'host_dma_id', 'link_dma_id',
'host_bps' fields remove them.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
---
 sound/soc/sof/intel/hda-dai.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sound/soc/sof/intel/hda-dai.c b/sound/soc/sof/intel/hda-dai.c
index 8c1d7ddb00e2..35ffb71116c6 100644
--- a/sound/soc/sof/intel/hda-dai.c
+++ b/sound/soc/sof/intel/hda-dai.c
@@ -21,8 +21,6 @@
 #endif
 
 struct hda_pipe_params {
-	u8 host_dma_id;
-	u8 link_dma_id;
 	u32 ch;
 	u32 s_freq;
 	u32 s_fmt;
@@ -30,7 +28,6 @@ struct hda_pipe_params {
 	snd_pcm_format_t format;
 	int link_index;
 	int stream;
-	unsigned int host_bps;
 	unsigned int link_bps;
 };
 
@@ -256,7 +253,6 @@ static int hda_link_hw_params(struct snd_pcm_substream *substream,
 	p_params.ch = params_channels(params);
 	p_params.s_freq = params_rate(params);
 	p_params.stream = substream->stream;
-	p_params.link_dma_id = stream_tag - 1;
 	p_params.link_index = link->index;
 	p_params.format = params_format(params);
 
-- 
2.25.1


  parent reply	other threads:[~2021-12-07 19:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-07 19:39 [PATCH 0/7] ASoC: Intel: SOF: clarifications on hardware support Pierre-Louis Bossart
2021-12-07 19:39 ` [PATCH 1/7] ASoC: SOF: Intel: ICL: move ICL-specific ops to icl.c Pierre-Louis Bossart
2021-12-07 19:39 ` [PATCH 2/7] ASoC: SOF: Intel: hda-stream: limit PROCEN workaround Pierre-Louis Bossart
2021-12-07 19:39 ` [PATCH 3/7] ASoC: SOF: Intel: hda-ctrl: apply symmetry for DPIB Pierre-Louis Bossart
2021-12-07 19:39 ` [PATCH 4/7] ASoC: SOF: hda-stream: only enable DPIB if needed Pierre-Louis Bossart
2021-12-07 19:39 ` [PATCH 5/7] ASoC: SOF: Intel: hda: add quirks for HDAudio DMA position information Pierre-Louis Bossart
2021-12-07 19:39 ` Pierre-Louis Bossart [this message]
2021-12-07 19:39 ` [PATCH 7/7] ASoC: SOF: Intel: add comment on JasperLake support Pierre-Louis Bossart
2021-12-13 22:42 ` [PATCH 0/7] ASoC: Intel: SOF: clarifications on hardware support Mark Brown

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=20211207193947.71080-7-pierre-louis.bossart@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kai.vehmanen@intel.com \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=ranjani.sridharan@linux.intel.com \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.