Skip to content

Rename Tegra ASoC driver

Stephen Warren alsa-devel linux-tegra 1 version Applied

Status from this message: Applied all on the 'tegra' branch of my sound tree, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ARM: Tegra: Rename harmony_audio.h -> tegra_wm8903_pdata.harch/arm/mach-tegra/board-harmony.c arch/arm/mach-tegra/include/mach/harmony_audio.h arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h +1 more+30 -301 reply
2/3ASoC: Tegra: Rename pdev tegra-snd-harmony to tegra-snd-wm8903arch/arm/mach-tegra/board-harmony.c sound/soc/tegra/harmony.c+2 -21 reply
3/3ARM: Tegra: Add to tegra_wm8903_platform_dataarch/arm/mach-tegra/board-harmony.c arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h+2 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchLiam Girdwood
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Rename Tegra ASoC driver

Colin, Erik, Olof,

Could you please ack these patches once they're ready, so that Mark can place them into his tegra-arch branch.

Colin, Erik, Olof, Mark,

Once these changes are in Mark's tegra-arch branch, could you please merge them into your subsystem's for-2.6.40 or equivalent branches.

Thanks.

This patchset is for 2.6.40.

The Tegra ASoC driver currently supports just the Harmony board. Hence, the driver name includes the word "harmony". I'll soon be submitting a patchset to add support for more boards. Hence, the current name doesn't apply well any more. Hence, I'd like to rename the driver.

To do this, the three changes below need to be applied to both the ASoC tree and the ARM/Tegra tree:

ARM: Tegra: Rename harmony_audio.h -> tegra_wm8903_pdata.h
ARM: Tegra: Add to tegra_wm8903_platform_data

These both change a header file that is shared between the two subsystems. Future changes in both subsystems depend on these changes, so the changes must be merged into both subsystems first.

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

Compile-wise, the subsets of this change that apply to each subsystem could be applied separately to each subsystem. However, that would break current Tegra audio support, since the driver name used in the board files would no longer match the driver name actually implemented, in either subsystem. Hence, this entire change should be merged into both subsystems.

Stephen Warren (3):
ARM: Tegra: Rename harmony_audio.h -> tegra_wm8903_pdata.h
ASoC: Tegra: Rename pdev tegra-snd-harmony to tegra-snd-wm8903
ARM: Tegra: Add to tegra_wm8903_platform_data

 arch/arm/mach-tegra/board-harmony.c                |    7 +++--
 arch/arm/mach-tegra/include/mach/harmony_audio.h   |   22 -------------------
 .../mach-tegra/include/mach/tegra_wm8903_pdata.h   |   23 ++++++++++++++++++++
 sound/soc/tegra/harmony.c                          |   14 ++++++------
 4 files changed, 34 insertions(+), 32 deletions(-)
 delete mode 100644 arch/arm/mach-tegra/include/mach/harmony_audio.h
 create mode 100644 arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h