aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/jz4740
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2021-05-02 15:08:55 +0200
committerMark Brown <broonie@kernel.org>2021-05-10 17:06:04 +0100
commit16f2a3cdaacaa7c077e238df45e4d38d6bc0a6c5 (patch)
tree69aeab563a4f391c3aaf2cab77d9711c4288627a /sound/soc/jz4740
parentASoC: fsl_xcvr: Remove unneeded semicolon (diff)
downloadwireguard-linux-16f2a3cdaacaa7c077e238df45e4d38d6bc0a6c5.tar.xz
wireguard-linux-16f2a3cdaacaa7c077e238df45e4d38d6bc0a6c5.zip
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>
Diffstat (limited to 'sound/soc/jz4740')
-rw-r--r--sound/soc/jz4740/jz4740-i2s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c
index 52ba0e3a9e95..65d0bf939134 100644
--- a/sound/soc/jz4740/jz4740-i2s.c
+++ b/sound/soc/jz4740/jz4740-i2s.c
@@ -371,7 +371,7 @@ static int jz4740_i2s_resume(struct snd_soc_component *component)
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;
@@ -396,7 +396,7 @@ static int jz4740_i2s_dai_probe(struct snd_soc_dai *dai)
if (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,
&i2s->capture_dma_data);