Commit dc0a50af authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown

ASoC: Tegra: Rename harmony.c to tegra_wm8903.c

Soon, this machine driver will be updated to handle a number of Tegra boards
using the WM8903 codec. Rename the file in advance to reflect this.

Fix the content of tegra_wm8903.c to match the rename; replace references
to Harmony board with something more generic.

* s/struct tegra_harmony/struct tegra_wm8903/
* s/harmony/machine/ # variable name
* Similar rename for some functions
* Similar comment fix
* Similar MODULE_DESCRIPTION fix
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c6d46678
......@@ -14,13 +14,14 @@ config SND_TEGRA_SOC_I2S
Tegra I2S interface. You will also need to select the individual
machine drivers to support below.
config SND_TEGRA_SOC_HARMONY
tristate "SoC Audio support for Tegra Harmony reference board"
config SND_TEGRA_SOC_WM8903
tristate "SoC Audio support for Tegra boards using a WM8903 codec"
depends on SND_TEGRA_SOC && MACH_HARMONY && I2C
default m
select SND_TEGRA_SOC_I2S
select SND_SOC_WM8903
help
Say Y or M here if you want to add support for SoC audio on the
Tegra Harmony reference board.
Say Y or M here if you want to add support for SoC audio on Tegra
boards using the WM8093 codec. Currently, the only supported board
is Harmony.
......@@ -10,6 +10,6 @@ obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-pcm.o
obj-$(CONFIG_SND_TEGRA_SOC_I2S) += snd-soc-tegra-i2s.o
# Tegra machine Support
snd-soc-tegra-harmony-objs := harmony.o
snd-soc-tegra-wm8903-objs := tegra_wm8903.o
obj-$(CONFIG_SND_TEGRA_SOC_HARMONY) += snd-soc-tegra-harmony.o
obj-$(CONFIG_SND_TEGRA_SOC_WM8903) += snd-soc-tegra-wm8903.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment