aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Sowjanya Komatineni <skomatineni@nvidia.com> 2020-09-21 23:39:38 +0200
committerGravatar Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2020-11-16 10:31:12 +0100
commitf4fcf0108b42a997aace451fa1a0801e1c7de0d3 (patch)
treea1f20c5291e3de5d8394c0b388fe31834cd21992 /drivers
parentmedia: i2c: imx274: Fix Y_OUT_SIZE register setting (diff)
downloadlinux-f4fcf0108b42a997aace451fa1a0801e1c7de0d3.tar.gz
linux-f4fcf0108b42a997aace451fa1a0801e1c7de0d3.tar.bz2
linux-f4fcf0108b42a997aace451fa1a0801e1c7de0d3.zip
media: i2c: imx274: Remove stop stream i2c writes during remove
Sensor should already be in standby during remove and there is no need to configure sensor registers for stream stop. Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/i2c/imx274.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c
index 55869fffe356..79b8b5a137d4 100644
--- a/drivers/media/i2c/imx274.c
+++ b/drivers/media/i2c/imx274.c
@@ -1970,9 +1970,6 @@ static int imx274_remove(struct i2c_client *client)
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct stimx274 *imx274 = to_imx274(sd);
- /* stop stream */
- imx274_write_table(imx274, imx274_stop);
-
v4l2_async_unregister_subdev(sd);
v4l2_ctrl_handler_free(&imx274->ctrls.handler);
media_entity_cleanup(&sd->entity);