[alsa-devel] Alsa 1.0.15rc2 and oops with Dell M1210
Herton Ronaldo Krzesinski
herton at mandriva.com.br
Sat Sep 29 23:53:29 CEST 2007
On Saturday 29 September 2007 06:07:17 zhejiang wrote:
> 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?
Thanks, I will try to enter in contact with the reporter and see what's going
on (I don't have direct access to the hardware) and try this. And later I saw
too I was wrong as the problem isn't input_mux as it's set to private_imux.
>
> The pin_config for M1210 didn't include any input pin.
> I wonder why.
Probably it's the reason for the bug, as 5stack model doesn't give problems on
the same hardware.
--
[]'s
Herton
More information about the Alsa-devel
mailing list