Browse Source

MLK-10048-2: ASoC: fsl_asrc: change the return value

Merge from c086d0151e

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>
isee-imx_3.14.28.y
Shengjiu Wang 6 years ago
committed by Nitin Garg
parent
commit
a9ddae481e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sound/soc/fsl/fsl_asrc_m2m.c

+ 1
- 1
sound/soc/fsl/fsl_asrc_m2m.c View File

@ -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);


Loading…
Cancel
Save