2.6.37-stable review patch. If anyone has any objections, please let us know.
------------------ From: David Henningsson <[email protected]> commit 306496761745942d8167e9193a738b559a7fb0b3 upstream. This typo caused some microphone inputs not to be correctly initialized on VIA codecs. Reported-By: Mark Goldstein <[email protected]> Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> --- sound/pci/hda/patch_via.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -568,7 +568,7 @@ static void via_auto_init_analog_input(s hda_nid_t nid = cfg->inputs[i].pin; if (spec->smart51_enabled && is_smart51_pins(spec, nid)) ctl = PIN_OUT; - else if (i == AUTO_PIN_MIC) + else if (cfg->inputs[i].type == AUTO_PIN_MIC) ctl = PIN_VREF50; else ctl = PIN_IN; _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
