Keke Palmer granted custody of son