Hi Vishal,
In probe(), it calls imx274_load_default(imx274), which has I2C
register read/write to the IMX274. If it fails, it will exit probe().
So it works as a sensor detection function as you suggested.
Regards,
Leon Luo
1130 Cadillac CT
Milpitas, CA 95035
Phone: (510)371-1169
Fax: (408)
Hi Leon,
I understand this fixes correctly freeing the v4l control handlers in probe().
But if there is a scenario where the sensor is mounted on a removable daughter
card,
shouldn't the probe fail if the daughter card is not connected?
A sample read/write to an IMX274 register should be