mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
isp: disable camsys log.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user