Commit c086d015 by Shengjiu Wang

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: 's avatarShengjiu Wang <shengjiu.wang@freescale.com>
parent 7e1a620a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment