Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: smiapp: Rename update_mode as pll_blanking_update

Rename the confusingly named smiapp_update_mode() function as
smiapp_pll_blanking_update(). The function is used to calculate new PLL
and blanking configuration after binning or scaling configuration has been
changed.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

authored by

Sakari Ailus and committed by
Mauro Carvalho Chehab
d3bec7fc 90c9e4a4

+3 -3
+3 -3
drivers/media/i2c/smiapp/smiapp-core.c
··· 867 867 __smiapp_update_exposure_limits(sensor); 868 868 } 869 869 870 - static int smiapp_update_mode(struct smiapp_sensor *sensor) 870 + static int smiapp_pll_blanking_update(struct smiapp_sensor *sensor) 871 871 { 872 872 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); 873 873 int rval; ··· 2047 2047 smiapp_propagate(subdev, cfg, sel->which, V4L2_SEL_TGT_COMPOSE); 2048 2048 2049 2049 if (sel->which == V4L2_SUBDEV_FORMAT_ACTIVE) 2050 - return smiapp_update_mode(sensor); 2050 + return smiapp_pll_blanking_update(sensor); 2051 2051 2052 2052 return 0; 2053 2053 } ··· 3044 3044 } 3045 3045 3046 3046 mutex_lock(&sensor->mutex); 3047 - rval = smiapp_update_mode(sensor); 3047 + rval = smiapp_pll_blanking_update(sensor); 3048 3048 mutex_unlock(&sensor->mutex); 3049 3049 if (rval) { 3050 3050 dev_err(&client->dev, "update mode failed\n");