From: Takashi Iwai Subject: Re: [PATCH 4/7] ALSA: CA0132: Add tuning controls Date: Mon, 10 Dec 2012 10:54:53 +0100 Message-ID: References: <1354944963-4654-1-git-send-email-ian_minett@creativelabs.com> <1354944963-4654-5-git-send-email-ian_minett@creativelabs.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B613D26030F for ; Mon, 10 Dec 2012 11:37:51 +0100 (CET) In-Reply-To: <1354944963-4654-5-git-send-email-ian_minett@creativelabs.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Ian Minett Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 7 Dec 2012 21:36:00 -0800, Ian Minett wrote: > > From: Ian Minett > > > Signed-off-by: Ian Minett > > 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