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:
Shengjiu Wang
2014-12-08 13:04:58 +08:00
committed by Jason Liu
parent 0ecf0343b9
commit e1e9de8e93

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