In the camera module list for Ducati Omap 5, there is a last field in the structure, namely nSensorDetect which we need to set as either MSP_TRUE or MSP_FALSE. Based on this, there is a piece of code for sensor detect. If we don't give MSP_TRUE or MSP_FALSE (i.e., leave that field empty), even then, the trace log shows the sensor gets detected. I'd like to know, the real use of this field and what really happens when we leave this field empty.
I'm referring to the following Release Notes for Android and Kernel sources.
http://omapedia.org/wiki/Panda5AJ.1.5_Release_Notes