In terms of band theory, a topologically trivial state is connected to the vacuum adiabatically.This means if you deform it without closing the gap it is still trivial. So if you want to go from a trivial to nontrivial phase vice versa, you must go through a phase transition where the gap closes. For this reason, one you cross a Landau level, the hall conductivity jumps by one unit. This is found by integrating the Berry curvature over the filled bands.
In the Haldane model, this phase transition happens when you tune the Dirac mass term proportional to sigma z (one for each valley in graphene). Once you get to the critical value, the gap closes and changes the relative signs of the Dirac mass terms.You'll have a chiral edge state and a nonzero hall conductance in the nontrivial regime, which turns out to be related to the sign of the mass term.