Skip to content

Commit

Permalink
ASoC: codecs: Fixed a spelling error in the function name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Weidong Wang authored and Mark Brown committed Feb 13, 2023
1 parent 46f5c98 commit 27db41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/aw88395/aw88395.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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"),

Expand Down

0 comments on commit 27db41a

Please sign in to comment.