[alsa-devel] [PATCH 2/3] sound/soc/atmel: Remove dead CONFIG_AT32_ENHANCED_PORTMUX

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jul 21 14:50:29 CEST 2010


On Wed, Jul 21, 2010 at 02:35:41PM +0200, Christian Dietrich wrote:
> CONFIG_AT32_ENCHANCED_PORTMUX doesn't exist in Kconfig or somewhere
> else, therefore removing all references for it from the source code.
> 
> Signed-off-by: Christian Dietrich <qy03fugy at stud.informatik.uni-erlangen.de>

Please remember to CC maintainers on patches - I've added Geoffrey.

> ---
>  sound/soc/atmel/playpaq_wm8510.c |    9 ---------
>  1 files changed, 0 insertions(+), 9 deletions(-)
> 
> diff --git a/sound/soc/atmel/playpaq_wm8510.c b/sound/soc/atmel/playpaq_wm8510.c
> index 9df4c68..fbd17e9 100644
> --- a/sound/soc/atmel/playpaq_wm8510.c
> +++ b/sound/soc/atmel/playpaq_wm8510.c
> @@ -425,11 +425,6 @@ static int __init playpaq_asoc_init(void)
>  	clk_set_rate(CODEC_CLK, 12000000);
>  	clk_enable(CODEC_CLK);
>  
> -#if defined CONFIG_AT32_ENHANCED_PORTMUX
> -	at32_select_periph(MCLK_PIN, MCLK_PERIPH, 0);
> -#endif
> -
> -
>  	/*
>  	 * Create and register platform device
>  	 */
> @@ -496,10 +491,6 @@ static void __exit playpaq_asoc_exit(void)
>  		_pll0 = NULL;
>  	}
>  
> -#if defined CONFIG_AT32_ENHANCED_PORTMUX
> -	at32_free_pin(MCLK_PIN);
> -#endif
> -
>  	platform_device_unregister(playpaq_snd_device);
>  	playpaq_snd_device = NULL;
>  }
> -- 
> 1.7.0.4
> 


More information about the Alsa-devel mailing list