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>
This commit is contained in:
Sakari Ailus 2019-10-01 08:46:51 -03:00 committed by Mauro Carvalho Chehab
parent f8c4352c1b
commit da533bb005

View File

@ -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);