summaryrefslogtreecommitdiff
path: root/nuttx/drivers/audio/wm8904.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/audio/wm8904.c')
-rw-r--r--nuttx/drivers/audio/wm8904.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/audio/wm8904.c b/nuttx/drivers/audio/wm8904.c
index 13712c051..f2545e717 100644
--- a/nuttx/drivers/audio/wm8904.c
+++ b/nuttx/drivers/audio/wm8904.c
@@ -1685,7 +1685,7 @@ static int wm8904_enqueuebuffer(FAR struct audio_lowerhalf_s *dev,
{
FAR struct wm8904_dev_s *priv = (FAR struct wm8904_dev_s *)dev;
struct audio_msg_s term_msg;
- int ret = -EAGAIN;
+ int ret;
audvdbg("Enqueueing: apb=%p curbyte=%d nbytes=%d flags=%04x\n",
apb, apb->curbyte, apb->nbytes, apb->flags);