pps_register_source() has keeps error codes in a local variable,
but it does not make use of the code. This patch let it return
the errcode in case of failure.
Suggested-by: Richard Cochran <richardcochran@xxxxxxxxx>
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>