From 172ce29242de0924519778e359f39f6d592fe34d Mon Sep 17 00:00:00 2001 From: Jacob Chen Date: Tue, 19 Sep 2017 13:15:51 +0800 Subject: [PATCH] media: i2c: tc35874x: enable clock lane LP11 state when stopping stream Change-Id: Ie88b720bbda32f10483d84210456e75af2d9b6c4 Signed-off-by: Jacob Chen --- drivers/media/i2c/tc35874x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/tc35874x.c b/drivers/media/i2c/tc35874x.c index ae8e0656bcb7..d6a063e7273f 100644 --- a/drivers/media/i2c/tc35874x.c +++ b/drivers/media/i2c/tc35874x.c @@ -564,6 +564,8 @@ static inline void enable_stream(struct v4l2_subdev *sd, bool enable) /* Mute video so that all data lanes go to LSP11 state. * No data is output to CSI Tx block. */ i2c_wr8(sd, VI_MUTE, MASK_AUTO_MUTE | MASK_VI_MUTE); + /* Set to non-continuous mode to enable clock lane LP11 state. */ + i2c_wr32(sd, TXOPTIONCNTRL, 0); } mutex_lock(&state->confctl_mutex);