Based on use of force guidelines, he was completely within his right to do what he did. Unfortunately in the process, the suspect smacked his head against the wall which knocked him out. Moral of the story is, don’t be a career criminal piece of shit who tries to spit at a cop doing his/her job.