[alsa-devel] [PATCH] ARM: tegra: Add to struct harmony_audio_platform_data
Add fields to describe all the audio-related GPIOs on Harmony, except for the codec's GPIO IRQ, which will be passed in its i2c_board_info.
Signed-off-by: Stephen Warren swarren@nvidia.com --- Mark, can you please apply this to your tegra-arch branch, and merge that. Thanks!
arch/arm/mach-tegra/include/mach/harmony_audio.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-tegra/include/mach/harmony_audio.h b/arch/arm/mach-tegra/include/mach/harmony_audio.h index 5c46391..af08650 100644 --- a/arch/arm/mach-tegra/include/mach/harmony_audio.h +++ b/arch/arm/mach-tegra/include/mach/harmony_audio.h @@ -16,4 +16,7 @@
struct harmony_audio_platform_data { int gpio_spkr_en; + int gpio_hp_det; + int gpio_int_mic_en; + int gpio_ext_mic_en; };
On Mon, 2011-01-31 at 15:37 -0700, Stephen Warren wrote:
Add fields to describe all the audio-related GPIOs on Harmony, except for the codec's GPIO IRQ, which will be passed in its i2c_board_info.
Signed-off-by: Stephen Warren swarren@nvidia.com
Mark, can you please apply this to your tegra-arch branch, and merge that. Thanks!
arch/arm/mach-tegra/include/mach/harmony_audio.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-tegra/include/mach/harmony_audio.h b/arch/arm/mach-tegra/include/mach/harmony_audio.h index 5c46391..af08650 100644 --- a/arch/arm/mach-tegra/include/mach/harmony_audio.h +++ b/arch/arm/mach-tegra/include/mach/harmony_audio.h @@ -16,4 +16,7 @@
struct harmony_audio_platform_data { int gpio_spkr_en;
- int gpio_hp_det;
- int gpio_int_mic_en;
- int gpio_ext_mic_en;
};
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
On Mon, Jan 31, 2011 at 03:37:15PM -0700, Stephen Warren wrote:
Add fields to describe all the audio-related GPIOs on Harmony, except for the codec's GPIO IRQ, which will be passed in its i2c_board_info.
Signed-off-by: Stephen Warren swarren@nvidia.com
Applied, thanks.
participants (3)
-
Liam Girdwood
-
Mark Brown
-
Stephen Warren