[alsa-devel] [PATCH] ARM: tegra: Add to struct harmony_audio_platform_data

Liam Girdwood lrg at slimlogic.co.uk
Tue Feb 1 15:01:46 CET 2011


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 at 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 at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list