Browse Source

MLK-9764-3: mxc: asrc: change the return value

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>
imx_3.10.53_1.1.0_ga
Shengjiu Wang 6 years ago
parent
commit
c086d0151e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      drivers/mxc/asrc/mxc_asrc.c

+ 1
- 1
drivers/mxc/asrc/mxc_asrc.c View File

@ -996,7 +996,7 @@ int mxc_asrc_process_buffer_pre(struct completion *complete,
return -ETIME;
} else if (signal_pending(current)) {
pair_err("%sput task forcibly aborted\n", in ? "in" : "out");
return -ERESTARTSYS;
return -EBUSY;
}
init_completion(complete);


Loading…
Cancel
Save