Minmax governor.

Copied from: https://github.com/nobodyAtall/msm7x27-2.6.32.x-nAa