···410410411411 if (atomisp_subdev_format_conversion(isp_sd,412412 isp_sd->capture_pad)413413- && crop[pad]->width && crop[pad]->height)414414- crop[pad]->width -= padding_w, crop[pad]->height -= padding_h;413413+ && crop[pad]->width && crop[pad]->height) {414414+ crop[pad]->width -= padding_w;415415+ crop[pad]->height -= padding_h;416416+ }415417416418 /* if subdev type is SOC camera,we do not need to set DVS */417419 if (isp->inputs[isp_sd->input_curr].type == SOC_CAMERA)