From: Takashi Iwai Subject: Re: [PATCH 8/31] HDA patch_via.c: Change VT1708S & VT1702 hp mode controls Date: Mon, 05 Oct 2009 17:04:35 +0200 Message-ID: References: <16685ee0910050725u67cdf3b5g8dcd20275bcf773f@mail.gmail.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 C34DC244CE for ; Mon, 5 Oct 2009 17:04:35 +0200 (CEST) In-Reply-To: <16685ee0910050725u67cdf3b5g8dcd20275bcf773f@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Li Bo Cc: LoganLi@viatech.com.cn, alsa-devel@alsa-project.org, HaraldWelte@viatech.com, lydiawang@viatech.com.cn List-Id: alsa-devel@alsa-project.org At Mon, 5 Oct 2009 22:25:15 +0800, Li Bo wrote: > > [ALSA] HDA VIA: Change VT1708S & VT1702 hp mode controls > > For VT1708S and VT1702, deactivate "Headphone Playback Volume" and > "Headphone Playback Mute" control if "Independent HP" mode is OFF. > and rename VT1702 "Independent HP" text. > > Signed-off-by: Lydia Wang > @@ -3342,11 +3359,13 @@ > > static int vt1702_auto_create_hp_ctls(struct via_spec *spec, hda_nid_t pin) > { > - int err; > - > + int err, i; > + struct hda_input_mux *imux; > + static const char *texts[] = { "ON (need reboot)", > + "OFF (need reboot)", > + NULL}; These texts look very strange... Takashi