mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
topology: fix the TPLG_DEBUG compilation
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
2947d83c13
commit
1482d1f254
3 changed files with 6 additions and 3 deletions
|
|
@ -230,9 +230,11 @@ err:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static void dump_priv_data(struct tplg_elem *elem)
|
||||
static void dump_priv_data(struct tplg_elem *elem ATTRIBUTE_UNUSED)
|
||||
{
|
||||
#ifdef TPLG_DEBUG
|
||||
struct snd_soc_tplg_private *priv = elem->data;
|
||||
unsigned char *p = (unsigned char *)priv->data;
|
||||
unsigned int i;
|
||||
|
||||
tplg_dbg(" elem size = %d, priv data size = %d\n",
|
||||
|
|
@ -246,6 +248,7 @@ static void dump_priv_data(struct tplg_elem *elem)
|
|||
}
|
||||
|
||||
tplg_dbg("\n\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline int check_nibble(unsigned char c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue