M2: camera: reset internal variables on reset interrupt