aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/solo6x10/solo6010-g723.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/solo6x10/solo6010-g723.c')
-rw-r--r--drivers/staging/solo6x10/solo6010-g723.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/solo6x10/solo6010-g723.c b/drivers/staging/solo6x10/solo6010-g723.c
index e82846c1d6c..82fbcb84587 100644
--- a/drivers/staging/solo6x10/solo6010-g723.c
+++ b/drivers/staging/solo6x10/solo6010-g723.c
@@ -233,7 +233,7 @@ static int snd_solo_pcm_copy(struct snd_pcm_substream *ss, int channel,
solo_pcm->g723_buf, G723_PERIOD_BYTES);
if (err)
- return err;
+ return -EFAULT;
}
return 0;