Why is substream->pcm->dev == NULL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux