]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ASoC: es8328: Fix copy-paste error in es8328_right_line_controls
authorYueHaibing <yuehaibing@huawei.com>
Thu, 15 Aug 2019 09:23:00 +0000 (17:23 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 630742c296341a8cfe00dfd941392025ba8dd4e8 ]

It seems 'es8328_rline_enum' should be used
in es8328_right_line_controls

Fixes: 567e4f98922c ("ASoC: add es8328 codec driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190815092300.68712-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/soc/codecs/es8328.c

index bcdb8914ec16b992e26aecb718e430e6e0477e05..e2f44fa46262d555c2d7078e802599686c442723 100644 (file)
@@ -231,7 +231,7 @@ static const struct soc_enum es8328_rline_enum =
                              ARRAY_SIZE(es8328_line_texts),
                              es8328_line_texts);
 static const struct snd_kcontrol_new es8328_right_line_controls =
-       SOC_DAPM_ENUM("Route", es8328_lline_enum);
+       SOC_DAPM_ENUM("Route", es8328_rline_enum);
 
 /* Left Mixer */
 static const struct snd_kcontrol_new es8328_left_mixer_controls[] = {