Kernel->HDMIIN:fix hdmiin start fail

This commit is contained in:
zouxf
2016-02-16 16:25:44 +08:00
committed by cjp
parent 3b106702e7
commit 0f3c408638
3 changed files with 7 additions and 6 deletions

View File

@ -271,9 +271,9 @@
<SensorAvdd name="NC" min="0" max="0"></SensorAvdd>
<SensorDovdd name="NC" min="0" max="0"></SensorDovdd>
<SensorDvdd name="NC" min="0" max="0"></SensorDvdd>
<SensorGpioPwdn ioname="RK30_PIN7_PA5" active="0"></SensorGpioPwdn>
<SensorGpioRst ioname="RK30_PIN8_PB0" active="0"></SensorGpioRst>
<SensorGpioPwen ioname="RK30_PIN7_PC5" active="1"></SensorGpioPwen>
<SensorGpioPwdn ioname="NC" active="0"></SensorGpioPwdn>
<SensorGpioRst ioname="NC" active="0"></SensorGpioRst>
<SensorGpioPwen ioname="NC" active="1"></SensorGpioPwen>
<SensorFacing facing="back"></SensorFacing>
<SensorInterface interface="MIPI"></SensorInterface>
<SensorMirrorFlip mirror="0"></SensorMirrorFlip>

View File

@ -628,9 +628,8 @@ static RESULT TC358749XBG_IsiSetupSensorIss
/* sleep a while, that sensor can take over new default values */
osSleep( 10 );
#if 1 //kings
#if 0
/* 3.) verify default values to make sure everything has been written correctly as expected */
result = IsiRegDefaultsVerify( pTC358749XBGCtx, TC358749XBG_g_aRegDescription );
if ( result != RET_SUCCESS )
@ -644,7 +643,7 @@ static RESULT TC358749XBG_IsiSetupSensorIss
//KINGS hdmi input timing check
//TC358749XBG_HdmiGetInputCheckRegIss(pTC358749XBGCtx,&data);
#endif
#endif
/* 4.) setup output format (RAW10|RAW12) */
result = TC358749XBG_SetupOutputFormat( pTC358749XBGCtx, pConfig );

View File

@ -628,11 +628,13 @@ static int tc358749_hdmiin_probe(struct i2c_client *client,
}
gpio_direction_input(tc358749_hdmiin->io_int.gpio);
#if 0
for (i = 0; tc358749_reg_def[i].reg != 0; i++) {
tc_write_reg(&tc358749_reg_def[i]);
if (0x22 == tc358749_reg_def[i].reg)
mdelay(1);
}
#endif
/*
for (i = 0; tc358749_reg_def[i].reg != 0; i++) {