case Isp_SoftRst: /* ddl@rock-chips.com: v0.d.0 */
{
- para_int = (unsigned int*)cfg_para;
+ unsigned int reset;
+ reset = (unsigned int)cfg_para;
- if (para_int)
+ if (reset == 1)
cru_writel(0x40004000,0x1d0);
else
cru_writel(0x40000000,0x1d0);
- camsys_trace(1, "Isp_SoftRst: %d",para_int);
+ camsys_trace(1, "Isp_SoftRst: %d",reset);
break;
}
}
return 0;
}
-
+#if 0
static int camsys_rk3288_mipiphy0_rd_reg(unsigned char addr)
{
return read_grf_reg(GRF_SOC_STATUS21);
}
-
+#endif
static int camsys_rk3288_mipiphy1_wr_reg(unsigned int phy_virt,unsigned char addr, unsigned char data)
{