--- a/drivers/media/platform/microchip/microchip-isc-base.c +++ b/drivers/media/platform/microchip/microchip-isc-base.c @@ -879,11 +879,17 @@ static void isc_try_fse(struct isc_device *isc, * just use the maximum ISC can receive. */ if (ret) { - sd_state->pads->try_crop.width = isc->max_width; - sd_state->pads->try_crop.height = isc->max_height; + struct v4l2_rect *crop = v4l2_subdev_get_try_crop(isc->current_subdev->sd, sd_state, 0); + crop->left = 0; + crop->top = 0; + crop->width = isc->max_width; + crop->height = isc->max_height; } else { - sd_state->pads->try_crop.width = fse.max_width; - sd_state->pads->try_crop.height = fse.max_height; + struct v4l2_rect *crop = v4l2_subdev_get_try_crop(isc->current_subdev->sd, sd_state, 0); + crop->left = 0; + crop->top = 0; + crop->width = fse.max_width; + crop->height = fse.max_height; } }