提交 7b33af25 编写于 作者: S Stephen Warren 提交者: Mark Brown

ASoC: Tegra: Rename pdev tegra-snd-harmony to tegra-snd-wm8903

Soon, this machine driver will be updated to handle a number of Tegra boards
using the WM8903 codec. Rename the platform device in advance to reflect this.
Signed-off-by: NStephen Warren <swarren@nvidia.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 4651d556
...@@ -75,7 +75,7 @@ static struct tegra_wm8903_platform_data harmony_audio_pdata = { ...@@ -75,7 +75,7 @@ static struct tegra_wm8903_platform_data harmony_audio_pdata = {
}; };
static struct platform_device harmony_audio_device = { static struct platform_device harmony_audio_device = {
.name = "tegra-snd-harmony", .name = "tegra-snd-wm8903",
.id = 0, .id = 0,
.dev = { .dev = {
.platform_data = &harmony_audio_pdata, .platform_data = &harmony_audio_pdata,
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include "tegra_pcm.h" #include "tegra_pcm.h"
#include "tegra_asoc_utils.h" #include "tegra_asoc_utils.h"
#define DRV_NAME "tegra-snd-harmony" #define DRV_NAME "tegra-snd-wm8903"
#define GPIO_SPKR_EN BIT(0) #define GPIO_SPKR_EN BIT(0)
#define GPIO_INT_MIC_EN BIT(1) #define GPIO_INT_MIC_EN BIT(1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册