mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user