[alsa-devel] [PATCH v2] Fix possible codec_dai->ops NULL pointer problems

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Oct 19 17:16:00 CEST 2009

On Fri, Oct 16, 2009 at 06:13:38PM +0800, Barry Song wrote:

> Some codec DAIs like stac9766, wm9712, wm9713, ad1980 don't register themselves
> 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.
> Signed-off-by: Barry Song <21cnbao at gmail.com>

Applied, thanks.

More information about the Alsa-devel mailing list