|
@@ -908,6 +908,8 @@ static int soc_camera_s_crop(struct file *file, void *fh,
|
|
|
dev_dbg(icd->pdev, "S_CROP(%ux%u@%u:%u)\n",
|
|
|
rect->width, rect->height, rect->left, rect->top);
|
|
|
|
|
|
+ current_crop.type = a->type;
|
|
|
+
|
|
|
/* If get_crop fails, we'll let host and / or client drivers decide */
|
|
|
ret = ici->ops->get_crop(icd, ¤t_crop);
|
|
|
|