summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeidong Wang <wangweidong.a@awinic.com>2023-02-13 10:36:47 +0100
committerMark Brown <broonie@kernel.org>2023-02-13 13:44:55 +0100
commit27db41a1f73ad18ed6540e1f8a7083422e5b53d6 (patch)
tree49f033d3308039aa094042f2065d54d91cd826a2
parentASoC: dt-bindings: maxim,max98095: Convert to dtschema (diff)
downloadlinux-27db41a1f73ad18ed6540e1f8a7083422e5b53d6.tar.xz
linux-27db41a1f73ad18ed6540e1f8a7083422e5b53d6.zip
ASoC: codecs: Fixed a spelling error in the function name
Change the function name aw88395_plack_event to aw88395_playback_event Signed-off-by: Ben Yi <yijiangtao@awinic.com> Signed-off-by: Weidong Wang <wangweidong.a@awinic.com> Link: https://lore.kernel.org/r/20230213093649.22928-2-wangweidong.a@awinic.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/aw88395/aw88395.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c
index 16ca7ac5ad28..afdce6b7fa26 100644
--- a/sound/soc/codecs/aw88395/aw88395.c
+++ b/sound/soc/codecs/aw88395/aw88395.c
@@ -363,7 +363,7 @@ static const struct snd_kcontrol_new aw88395_controls[] = {
aw88395_profile_get, aw88395_profile_set),
};
-static int aw88395_plack_event(struct snd_soc_dapm_widget *w,
+static int aw88395_playback_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *k, int event)
{
struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm);
@@ -388,7 +388,7 @@ static int aw88395_plack_event(struct snd_soc_dapm_widget *w,
static const struct snd_soc_dapm_widget aw88395_dapm_widgets[] = {
/* playback */
SND_SOC_DAPM_AIF_IN_E("AIF_RX", "Speaker_Playback", 0, 0, 0, 0,
- aw88395_plack_event,
+ aw88395_playback_event,
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_OUTPUT("DAC Output"),