Re: [PATCH 2/3] sound/soc/atmel: Remove deadCONFIG_AT32_ENHANCED_PORTMUX

From: Mark Brown
Date: Wed Jul 21 2010 - 08:50:51 EST


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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/