There are 4 cases with edge potentially in one of the four rotation position, except that the front with correct spin does not require algorithm.
edge down right
edge down left
edge down back