Alsa 1.0.15rc2 and oops with Dell M1210

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux