Re: [PATCH] Fix codec_dai->ops NULL pointer bug for AC97 codec dai in soc-core

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

 



On Fri, Oct 16, 2009 at 10:09:20AM +0800, Barry Song wrote:
> AC97 codec DAIs don't register themselves eg.stac9766, wm9712, wm9713, wm9705.c, ad1980,
> then it loses to the chance to be given a null_dai_ops in snd_soc_register_dai if they
> have no ops. When functions like soc_pcm_open, soc_pcm_hw_params etc. access the ops field
> in these DAIs, panic will happen.

This is the wrong fix - null DAI ops are supposed to be supported for
all devices since not all DAIs will be configurable.
_______________________________________________
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