mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: isp: fix the problem of no data when no reserved memory
Signed-off-by: Fenrir Lin <fenrir.lin@rock-chips.com> Change-Id: Ia94a8032fae6c741376924c98dae336e4a9329bd
This commit is contained in:
@@ -2429,6 +2429,12 @@ void rkisp_chk_tb_over(struct rkisp_device *isp_dev)
|
||||
if (!isp_dev->resmem_pa || !isp_dev->resmem_size) {
|
||||
v4l2_info(&isp_dev->v4l2_dev,
|
||||
"no reserved memory for thunderboot\n");
|
||||
if (isp_dev->hw_dev->is_thunderboot) {
|
||||
rkisp_tb_set_state(RKISP_TB_NG);
|
||||
rkisp_tb_unprotect_clk();
|
||||
rkisp_register_irq(isp_dev->hw_dev);
|
||||
isp_dev->hw_dev->is_thunderboot = false;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user