Commit da533bb0 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent f8c4352c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);