From: Timur Tabi <timur@freescale.com>
To: ALSA development <alsa-devel@alsa-project.org>
Subject: Why is substream->pcm->dev == NULL?
Date: Thu, 07 Aug 2008 13:51:55 -0500 [thread overview]
Message-ID: <489B444B.9010202@freescale.com> (raw)
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
next reply other threads:[~2008-08-07 18:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 18:51 Timur Tabi [this message]
2008-08-08 5:58 ` Why is substream->pcm->dev == NULL? Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=489B444B.9010202@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.