diff options
author | 2009-10-16 18:13:38 +0800 | |
---|---|---|
committer | 2009-10-19 16:15:03 +0100 | |
commit | 02a06d3042e208cb74369838b178ca9512192be4 (patch) | |
tree | c7ef2f01655efa27210cad623e2a0dd33c142598 /fs/reiserfs/fix_node.c | |
parent | ASoC: Serialize access to dapm_power_widgets() (diff) | |
download | linux-dev-02a06d3042e208cb74369838b178ca9512192be4.tar.xz linux-dev-02a06d3042e208cb74369838b178ca9512192be4.zip |
ASoC: Fix possible codec_dai->ops NULL pointer problems
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@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'fs/reiserfs/fix_node.c')
0 files changed, 0 insertions, 0 deletions