init: calibrate: Backported from 3.0 kernel.