Title: [7676] trunk/sound/soc/soc-core.c: sync with applied soc-core patch:
Revision
7676
Author
bhsong
Date
2009-10-19 22:09:35 -0400 (Mon, 19 Oct 2009)

Log Message

sync with applied soc-core patch:

ASoC: Fix possible codec_dai->ops NULL pointer problems
commit	02a06d3042e208cb74369838b178ca9512192be4

Modified Paths

Diff

Modified: trunk/sound/soc/soc-core.c (7675 => 7676)


--- trunk/sound/soc/soc-core.c	2009-10-19 10:34:07 UTC (rev 7675)
+++ trunk/sound/soc/soc-core.c	2009-10-20 02:09:35 UTC (rev 7676)
@@ -840,8 +840,7 @@
 	}
 
 	for (i = 0; i < card->num_links; i++) {
-		if (card->dai_link[i].codec_dai->ac97_control &&
-				(!card->dai_link[i].codec_dai->ops))
+		if (!card->dai_link[i].codec_dai->ops)
 			card->dai_link[i].codec_dai->ops = &null_dai_ops;
 	}
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to