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> (cherry picked from commit 69d529646a610d8d1360bd116ceec1341aef4211)
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user