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

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 15 15:06:05 CET 2010

On Mon, Nov 15, 2010 at 03:03:52PM +0100, Grzegorz Daniluk wrote:
> Mark Brown wrote:

> >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*/

This should be selected via Kconfig; doing this here is going to be
actively harmful.

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

You need to enable this at the *top* of the file rather than part way
through it - in particular, it needs to be before any #includes.

More information about the Alsa-devel mailing list