media: i2c: tc35874x: enable clock lane LP11 state when stopping stream

Change-Id: Ie88b720bbda32f10483d84210456e75af2d9b6c4
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
This commit is contained in:
Jacob Chen
2017-09-19 13:15:51 +08:00
committed by Tao Huang
parent 154ca5fbc8
commit 172ce29242

View File

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