aic94xx: set an error code on failure