Skip to content

Commit

Permalink
ASoC: siu: don't use discriminatory terms for parameter
Browse files Browse the repository at this point in the history
siu is using discriminatory terms for function parameter.
This patch changes it to "secondary"

One note here is that it do nothing to DMA related naming
for now, because it needs framework level modification.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87d04z3qqg.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Jul 14, 2020
1 parent cf01245 commit f363459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/sh/siu_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ static int siu_pcm_stmread_stop(struct siu_port *port_info)
return 0;
}

static bool filter(struct dma_chan *chan, void *slave)
static bool filter(struct dma_chan *chan, void *secondary)
{
struct sh_dmae_slave *param = slave;
struct sh_dmae_slave *param = secondary;

pr_debug("%s: slave ID %d\n", __func__, param->shdma_slave.slave_id);
pr_debug("%s: secondary ID %d\n", __func__, param->shdma_slave.slave_id);

chan->private = &param->shdma_slave;
return true;
Expand Down

0 comments on commit f363459

Please sign in to comment.