diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-01-31 03:01:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-31 12:05:05 +0100 |
commit | 1c1a778401b8ad04ae618eb8baa9a34a8b7e3d50 (patch) | |
tree | 14d93acfd1d78d7b44aa5b1f2d5971c524229c86 /sound/soc/tegra/tegra20_i2s.c | |
parent | ASoC: sof: use helper function (diff) | |
download | linux-1c1a778401b8ad04ae618eb8baa9a34a8b7e3d50.tar.xz linux-1c1a778401b8ad04ae618eb8baa9a34a8b7e3d50.zip |
ASoC: tegra: use helper function
Current ASoC has many helper function.
This patch use it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87mt5zea3a.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra20_i2s.c')
-rw-r--r-- | sound/soc/tegra/tegra20_i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra20_i2s.c b/sound/soc/tegra/tegra20_i2s.c index fff0cd6588f5..d37a9f2603e8 100644 --- a/sound/soc/tegra/tegra20_i2s.c +++ b/sound/soc/tegra/tegra20_i2s.c @@ -256,8 +256,8 @@ static int tegra20_i2s_probe(struct snd_soc_dai *dai) { struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); - dai->capture_dma_data = &i2s->capture_dma_data; - dai->playback_dma_data = &i2s->playback_dma_data; + snd_soc_dai_init_dma_data(dai, &i2s->playback_dma_data, + &i2s->capture_dma_data); return 0; } |