All of lore.kernel.org
 help / color / mirror / Atom feed
* Why is substream->pcm->dev == NULL?
@ 2008-08-07 18:51 Timur Tabi
  2008-08-08  5:58 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2008-08-07 18:51 UTC (permalink / raw)
  To: ALSA development

In my _pointer callback function, I have this:

printk(KERN_INFO "%s:%u substream->pcm->dev=%p, substream->pcm->card->dev=%p\n",
__func__, __LINE__, substream->pcm->dev, substream->pcm->card->dev);

During playback, it displays this:

fsl_dma_pointer:698 substream->pcm->dev=00000000, substream->pcm->card->dev=dfa50a08

Why is substream->pcm->dev == NULL?  What's the point of having this field if
you're not going to use it?

-- 
Timur Tabi
Linux kernel developer at Freescale

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

end of thread, other threads:[~2008-08-08  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 18:51 Why is substream->pcm->dev == NULL? Timur Tabi
2008-08-08  5:58 ` Takashi Iwai

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.