Merged in masayuki2009/nuttx.nuttx/fix_i2schar (pull request #681)
drivers/audio: Fix compile error in i2schar.c (CONFIG_DEBUG_ASSERTIONS=y) Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
15f07b81d2
commit
50347a1068
@ -370,7 +370,7 @@ static int i2schar_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
DEBUGASSERT(filep != NULL);
|
||||
|
||||
inode = filep->f_inode;
|
||||
DEBUGASSERT(inodei != NULL);
|
||||
DEBUGASSERT(inode != NULL);
|
||||
|
||||
priv = (FAR struct i2schar_dev_s *)inode->i_private;
|
||||
DEBUGASSERT(priv != NULL && priv->i2s && priv->i2s->ops);
|
||||
|
Loading…
Reference in New Issue
Block a user