[PATCH v3 7/8] coresight: Do not mix success path with failure handling