[alsa-devel] ASoC: WM8804: fsi-wm8804

Grzegorz Daniluk g.daniluk at elproma.com.pl
Mon Nov 15 15:03:52 CET 2010


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


More information about the Alsa-devel mailing list