Backported init/calibrate from 3.0.8 kernel