Kernel->HDMIIN:fix hdmiin start fail
This commit is contained in:
@ -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>
|
||||
|
||||
@ -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 );
|
||||
|
||||
@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user