If Joey Barton spoke out against racism he would still be correct, despite his past.
Racism isn't situational, it is always bad and speaking out against it is always correct, no matter the source.
Deeney deserves criticism for what he has done, and it is maybe glossed over, but it doesn't negate the point he is making.