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.ai...@linux.intel.com>
---
 drivers/media/i2c/smiapp/smiapp-core.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/media/i2c/smiapp/smiapp-core.c 
b/drivers/media/i2c/smiapp/smiapp-core.c
index edaeebaada79..5fc3bcc6def0 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);
-- 
2.20.1

Reply via email to