If you've injured your pinky, it's best to rest it and check with a doctor before pushing through any grip technique.
Traditional drumming grip relies on the fingers, so playing on a broken finger can make things worse. Give it time to heal, and consider light, low-impact activity in the meantime rather than forcing the grip.