[alsa-devel] [PATCH] ASoC: Remove some unused defines from WM8903

Liam Girdwood lrg at slimlogic.co.uk
Tue Dec 21 11:19:50 CET 2010


On Mon, 2010-12-20 at 20:55 +0000, Mark Brown wrote:
> These would have been used if we'd done manual clock divider setup,
> but we didn't.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm8903.h |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h
> index 7f9f6be..5f23d3c 100644
> --- a/sound/soc/codecs/wm8903.h
> +++ b/sound/soc/codecs/wm8903.h
> @@ -19,10 +19,6 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec,
>  			     struct snd_soc_jack *jack,
>  			     int det, int shrt);
>  
> -#define WM8903_MCLK_DIV_2 1
> -#define WM8903_CLK_SYS    2
> -#define WM8903_BCLK       3
> -#define WM8903_LRCLK      4
>  
>  /*
>   * Register values.

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