Skip to content

Commit

Permalink
ASoC: Tegra: Rename pdev tegra-snd-harmony to tegra-snd-wm8903
Browse files Browse the repository at this point in the history
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: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Stephen Warren authored and Mark Brown committed Apr 18, 2011
1 parent 4651d55 commit 7b33af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/board-harmony.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static struct tegra_wm8903_platform_data harmony_audio_pdata = {
};

static struct platform_device harmony_audio_device = {
.name = "tegra-snd-harmony",
.name = "tegra-snd-wm8903",
.id = 0,
.dev = {
.platform_data = &harmony_audio_pdata,
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/harmony.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include "tegra_pcm.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_INT_MIC_EN BIT(1)
Expand Down

0 comments on commit 7b33af2

Please sign in to comment.