mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
media: rockchip: vicap increase wake up cnt for rv1126/rk3568 monitor mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I8161e04d61215026591c47d67995f44c56ed54c5
This commit is contained in:
@@ -11430,6 +11430,7 @@ void rkcif_irq_pingpong(struct rkcif_device *cif_dev)
|
||||
wake_up(&stream->wq_stopped);
|
||||
continue;
|
||||
}
|
||||
stream->buf_wake_up_cnt++;
|
||||
|
||||
if (stream->state != RKCIF_STATE_STREAMING)
|
||||
continue;
|
||||
@@ -11574,6 +11575,7 @@ void rkcif_irq_pingpong(struct rkcif_device *cif_dev)
|
||||
wake_up(&stream->wq_stopped);
|
||||
return;
|
||||
}
|
||||
stream->buf_wake_up_cnt++;
|
||||
|
||||
frmid = CIF_GET_FRAME_ID(cif_frmst);
|
||||
if ((cif_frmst == 0xfffd0002) || (cif_frmst == 0xfffe0002)) {
|
||||
@@ -11643,6 +11645,7 @@ void rkcif_irq_pingpong(struct rkcif_device *cif_dev)
|
||||
wake_up(&stream->wq_stopped);
|
||||
continue;
|
||||
}
|
||||
stream->buf_wake_up_cnt++;
|
||||
|
||||
if (stream->state != RKCIF_STATE_STREAMING)
|
||||
continue;
|
||||
@@ -11751,6 +11754,7 @@ void rkcif_irq_lite_lvds(struct rkcif_device *cif_dev)
|
||||
if (stream->state != RKCIF_STATE_STREAMING)
|
||||
continue;
|
||||
|
||||
stream->buf_wake_up_cnt++;
|
||||
switch (mipi_id) {
|
||||
case RKCIF_STREAM_MIPI_ID0:
|
||||
stream->frame_phase = SW_FRM_END_ID0(intstat);
|
||||
|
||||
Reference in New Issue
Block a user