Re: [PATCH 0/5] soc-camera: convert to platform device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert Jarzmik <robert.jarzmik@xxxxxxx> writes:

> I need to make some additionnal tests with I2C loading/unloading, but otherwise
> it works perfectly for (soc_camera / pxa_camera /mt9m111 combination).

Guennadi,

I made some testing, and there is something I don't understand in the new device
model.
This is the testcase I'm considering :
 - I unload i2c-pxa, pxa-camera, mt9m111, soc-camera modules
 - I load pxa-camera, mt9m111, soc-camera modules
 - I then load i2c-pxa
    => the mt9m111 is not detected
 - I unload and reload mt9m111 and pxa_camera
    => not any better
 - I unload soc_camera, mt9m111, pxa_camera and reload
    => this time the video device is detected

What I'm getting at is that if soc_camera is loaded before the i2c host driver,
no camera will get any chance to work. Is that normal considering the new driver
model ?
I was naively thinking that there would be a "rescan" when the "control" was
being available for a sensor.

Cheers.

--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux