[alsa-devel] [PATCH 4/7] ALSA: CA0132: Add tuning controls

Takashi Iwai tiwai at suse.de
Mon Dec 10 10:54:53 CET 2012


At Fri, 7 Dec 2012 21:36:00 -0800,
Ian Minett wrote:
> 
> From: Ian Minett <ian_minett at creativelabs.com>
> 
> 
> Signed-off-by: Ian Minett <ian_minett at creativelabs.com>
> 
> diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
> index b971a9d..b62d407 100644
> --- a/sound/pci/hda/patch_ca0132.c
> +++ b/sound/pci/hda/patch_ca0132.c
> @@ -771,6 +771,9 @@ struct ca0132_spec {
>  	long voicefx_val;
>  	long cur_mic_boost;
>  
> +	#ifdef ENABLE_TUNING_CONTROLS
> +	long cur_ctl_vals[TUNING_CTLS_COUNT];
> +	#endif

#ifdef / #end should be put at the beginning of the line.

> +DECLARE_TLV_DB_SCALE(voice_focus_db_scale, 2000, 100, 0);
> +DECLARE_TLV_DB_SCALE(eq_db_scale, -2400, 100, 0);

Missing static.


Takashi


More information about the Alsa-devel mailing list