mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
media: rockchip: vicap fixed frame_phase state with wake up mode
sometimes, cause buffer state error in thunderboot mode Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I1b750cbad21e29b112d8e7670029c6f1d0d53fc3
This commit is contained in:
@@ -7628,9 +7628,11 @@ static void rkcif_line_wake_up_rdbk(struct rkcif_stream *stream, int mipi_id)
|
||||
if (mode) {
|
||||
if (stream->curr_buf_toisp)
|
||||
active_buf = stream->curr_buf_toisp;
|
||||
stream->frame_phase = CIF_CSI_FRAME0_READY;
|
||||
} else {
|
||||
if (stream->next_buf_toisp)
|
||||
active_buf = stream->next_buf_toisp;
|
||||
stream->frame_phase = CIF_CSI_FRAME1_READY;
|
||||
}
|
||||
|
||||
if (!active_buf) {
|
||||
|
||||
Reference in New Issue
Block a user