All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: fix the building issue of missing codec field in 'struct snd_soc_card'
@ 2010-11-01 21:10 Eric Miao
  2010-11-02 13:25 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Miao @ 2010-11-01 21:10 UTC (permalink / raw)
  To: linux-arm-kernel

diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index a3bfb2e..73d0edd 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -79,7 +79,7 @@ static void tosa_ext_control(struct snd_soc_codec *codec)
 static int tosa_startup(struct snd_pcm_substream *substream)
 {
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
-	struct snd_soc_codec *codec = rtd->card->codec;
+	struct snd_soc_codec *codec = rtd->codec;

 	/* check the jack status at stream startup */
 	tosa_ext_control(codec);

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-02 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 21:10 ASoC: fix the building issue of missing codec field in 'struct snd_soc_card' Eric Miao
2010-11-02 13:25 ` Mark Brown
2010-11-02 13:29   ` Eric Miao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.