summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-10-01 14:46:51 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-25 00:55:39 +0300
commitda533bb0058b575958291b9296f1de7d1b1b5bc3 (patch)
tree1b661656304f0536d91b3329c525086dc637aaaf /drivers
parentf8c4352c1bef308578c2e310a37610db10c81332 (diff)
downloadlinux-da533bb0058b575958291b9296f1de7d1b1b5bc3.tar.xz
media: smiapp: Don't update sensor configuration during power-on init
The sensor configuration since it was previously powered off was not changed, so no need to update the PLL configuration etc. What is necessary though is to re-apply the configuration to the sensor's registers. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index 9986215fed89..1fad05583feb 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -1267,10 +1267,6 @@ static int smiapp_power_on(struct device *dev)
rval = __v4l2_ctrl_handler_setup(&sensor->src->ctrl_handler);
if (rval)
goto out_cci_addr_fail;
-
- rval = smiapp_update_mode(sensor);
- if (rval < 0)
- goto out_cci_addr_fail;
}
mutex_unlock(&sensor->mutex);