mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 03:06:43 +00:00
ASoC: jz4740-i2s: fix function name
This driver is not related to I2C protocol. s/_i2c_/_i2s_/ Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Acked-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/56f9c8518870263698b00d10de4821d2dc8932be.1619960935.git.hns@goldelico.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
223875a6fb
commit
16f2a3cdaa
@ -371,7 +371,7 @@ static int jz4740_i2s_resume(struct snd_soc_component *component)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void jz4740_i2c_init_pcm_config(struct jz4740_i2s *i2s)
|
static void jz4740_i2s_init_pcm_config(struct jz4740_i2s *i2s)
|
||||||
{
|
{
|
||||||
struct snd_dmaengine_dai_dma_data *dma_data;
|
struct snd_dmaengine_dai_dma_data *dma_data;
|
||||||
|
|
||||||
@ -396,7 +396,7 @@ static int jz4740_i2s_dai_probe(struct snd_soc_dai *dai)
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
jz4740_i2c_init_pcm_config(i2s);
|
jz4740_i2s_init_pcm_config(i2s);
|
||||||
snd_soc_dai_init_dma_data(dai, &i2s->playback_dma_data,
|
snd_soc_dai_init_dma_data(dai, &i2s->playback_dma_data,
|
||||||
&i2s->capture_dma_data);
|
&i2s->capture_dma_data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user