alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Grzegorz Daniluk <g.daniluk@elproma.com.pl>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: ASoC: WM8804: fsi-wm8804
Date: Mon, 15 Nov 2010 15:03:52 +0100	[thread overview]
Message-ID: <4CE13DC8.30007@elproma.com.pl> (raw)
In-Reply-To: <20101115135053.GC3338@sirena.org.uk>

Mark Brown wrote:
> You need to register both -
> the device will generally be registered by your arch/ file for the
> board.
>
>   
Yes, I have done this too.
> Could you please verify that you have enabled the debug logging
> requested?  I cannot see any of the additional logging that would be
> generated if this was enabled.
>   
If I understood correctly my sound/soc/soc-core.c looks as following 
(added #define ...):
....
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>

#define NAME_SIZE       32

/*my code*/
#define CONFIG_DEBUG_FS
#define DEBUG
/*end of my code*/

static DEFINE_MUTEX(pcm_mutex);
static DECLARE_WAIT_QUEUE_HEAD(soc_pm_waitq);

#ifdef CONFIG_DEBUG_FS
static struct dentry *debugfs_root;
#endif

static DEFINE_MUTEX(client_mutex);
static LIST_HEAD(card_list);
....

best regards,
Greg

  reply	other threads:[~2010-11-15 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 12:26 ASoC: WM8804: fsi-wm8804 Grzegorz Daniluk
2010-11-15 12:33 ` Mark Brown
2010-11-15 13:46   ` Grzegorz Daniluk
2010-11-15 13:50     ` Mark Brown
2010-11-15 14:03       ` Grzegorz Daniluk [this message]
2010-11-15 14:06         ` Mark Brown
2010-11-15 14:54           ` Grzegorz Daniluk
2010-11-15 15:13             ` Mark Brown

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=4CE13DC8.30007@elproma.com.pl \
    --to=g.daniluk@elproma.com.pl \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).