diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2014-12-08 13:04:58 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-01-15 21:18:51 -0600 |
commit | a9ddae481e82956e2d95b10cdbab3d0e9bf49250 (patch) | |
tree | 64ca92e27c3cd09bffc987bbe0c15db97bc7a0d0 /sound | |
parent | a0ff6eee4a12e5fbb7139d2d60e46944647287a8 (diff) |
MLK-10048-2: ASoC: fsl_asrc: change the return value
Merge from c086d0151ee3e131b52bef96c5096d1ee603c852
Return value -ERESTARTSYS is not visible for user space according
to include/linux/errno.h. So use -EBUSY replace it.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_asrc_m2m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_asrc_m2m.c b/sound/soc/fsl/fsl_asrc_m2m.c index 787194846f53..2ea40094e340 100644 --- a/sound/soc/fsl/fsl_asrc_m2m.c +++ b/sound/soc/fsl/fsl_asrc_m2m.c @@ -323,7 +323,7 @@ int fsl_asrc_process_buffer_pre(struct completion *complete, return -ETIME; } else if (signal_pending(current)) { pr_err("%sput task forcibly aborted\n", DIR_STR(dir)); - return -ERESTARTSYS; + return -EBUSY; } init_completion(complete); |