mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
media: camsys_soc_rk3368: fix compilation warning
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -248,8 +248,8 @@ int camsys_rk3368_cfg (camsys_soc_cfg_t cfg_cmd, void* cfg_para)
|
||||
|
||||
case Isp_SoftRst: /* ddl@rock-chips.com: v0.d.0 */
|
||||
{
|
||||
unsigned int reset;
|
||||
reset = (unsigned int)cfg_para;
|
||||
unsigned long reset;
|
||||
reset = (unsigned long)cfg_para;
|
||||
#if 0
|
||||
if (reset == 1)
|
||||
write_cru_reg(0x318,0x40004000);
|
||||
@@ -265,7 +265,7 @@ int camsys_rk3368_cfg (camsys_soc_cfg_t cfg_cmd, void* cfg_para)
|
||||
__raw_writel(0x00,
|
||||
(void*)(rk_isp_base + MRV_AFM_BASE +
|
||||
VI_IRCL));
|
||||
camsys_trace(1, "Isp self soft rst: %d", reset);
|
||||
camsys_trace(1, "Isp self soft rst: %ld", reset);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user