[alsa-devel] Alsa 1.0.15rc2 and oops with Dell M1210

zhejiang zhe.jiang at intel.com
Sat Sep 29 11:07:17 CEST 2007


Seems that the spec->input_mux contains no item at all.
So system maybe crash in the snd_hda_input_mux_info() when try to copy
the items[].label,which is null pointer.

May you replace the function  stac92xx_mux_enum_info() in
alsa-driver-1.0.15rc2/alsa-kernel/pci/hda/patch_sigmatel.c ?

static int stac92xx_mux_enum_info(struct snd_kcontrol *kcontrol, struct
snd_ctl_elem_info *uinfo)
{
	struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
	struct sigmatel_spec *spec = codec->spec;
	printk("spec->input_mux->num_items is %d
\n",spec->input_mux->num_items);
	if(!spec->input_mux->num_items)
		return 0;
	return snd_hda_input_mux_info(spec->input_mux, uinfo);
}

Does it still crash?
What's the number of num_items?

The pin_config for M1210  didn't include any input pin.
I wonder why.


More information about the Alsa-devel mailing list