|
@@ -1766,7 +1766,7 @@ static void smiapp_set_compose_binner(struct v4l2_subdev *subdev,
|
|
struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
|
|
struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
|
|
unsigned int i;
|
|
unsigned int i;
|
|
unsigned int binh = 1, binv = 1;
|
|
unsigned int binh = 1, binv = 1;
|
|
- unsigned int best = scaling_goodness(
|
|
|
|
|
|
+ int best = scaling_goodness(
|
|
subdev,
|
|
subdev,
|
|
crops[SMIAPP_PAD_SINK]->width, sel->r.width,
|
|
crops[SMIAPP_PAD_SINK]->width, sel->r.width,
|
|
crops[SMIAPP_PAD_SINK]->height, sel->r.height, sel->flags);
|
|
crops[SMIAPP_PAD_SINK]->height, sel->r.height, sel->flags);
|