isp: disable camsys log.

This commit is contained in:
zyc
2014-03-29 09:45:03 +08:00
parent 336ef079e1
commit aa2313f198
2 changed files with 2 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ extern unsigned int camsys_debug;
#define camsys_trace(level, msg,...) \
do { \
if (1/*camsys_debug >= level*/) \
if (camsys_debug >= level) \
printk("D%d:%s(%d): " msg "\n",level, __FUNCTION__,__LINE__, ## __VA_ARGS__); \
} while (0)

View File

@@ -235,10 +235,9 @@ static int camsys_mipiphy_ops (void *phy, void *phyinfo, unsigned int on)
//disable isp
write_grf_reg(GRF_SOC_CON6_OFFSET, MIPI_PHY_DISABLE_ISP_MASK | 1);
phy_select(0);
// phy_config_num_lane(0,2);
phy_config_num_lane(0,1);
phy0_start(0,1);
phy_config_num_lane(0,1);
udelay(200);
//enable isp
write_grf_reg(GRF_SOC_CON6_OFFSET, MIPI_PHY_DISABLE_ISP_MASK | 0);