[alsa-devel] [PATCH 8/31] HDA patch_via.c: Change VT1708S & VT1702 hp mode controls

Takashi Iwai tiwai at suse.de
Mon Oct 5 17:04:35 CEST 2009


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 <lydiawang at viatech.com.cn>
> @@ -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


More information about the Alsa-devel mailing list