diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-01-31 02:01:02 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-31 11:05:04 +0000 |
commit | 67cc242679b106909be52f8476e372dbb03c0a88 (patch) | |
tree | a89fac7b13640201d48575a41ee6a4f816b8b067 /sound/soc/rockchip/rockchip_pdm.c | |
parent | c765ceda78f0bd9df1217f9beaefea58ecf3865c (diff) | |
download | linux-stable-67cc242679b106909be52f8476e372dbb03c0a88.tar.gz linux-stable-67cc242679b106909be52f8476e372dbb03c0a88.tar.bz2 linux-stable-67cc242679b106909be52f8476e372dbb03c0a88.zip |
ASoC: rockchip: 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/87pmavea3l.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_pdm.c')
-rw-r--r-- | sound/soc/rockchip/rockchip_pdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c index 5b1e47bdc376..6ce92b1db790 100644 --- a/sound/soc/rockchip/rockchip_pdm.c +++ b/sound/soc/rockchip/rockchip_pdm.c @@ -373,7 +373,7 @@ static int rockchip_pdm_dai_probe(struct snd_soc_dai *dai) { struct rk_pdm_dev *pdm = to_info(dai); - dai->capture_dma_data = &pdm->capture_dma_data; + snd_soc_dai_dma_data_set_capture(dai, &pdm->capture_dma_data); return 0; } |