Hi Laurent, > -----Original Message----- > From: Laurent Pinchart [mailto:laurent.pinchart@xxxxxxxxxxxxxxxx] > Sent: Thursday, August 26, 2010 2:31 AM > To: Aguirre, Sergio > Cc: linux-media@xxxxxxxxxxxxxxx; Nataraju, Kiran > Subject: Re: [omap3camera] How does a lens subdevice get powered up? > > Hi Sergio, > > On Wednesday 25 August 2010 22:15:36 Aguirre, Sergio wrote: > > Hi Laurent, > > > > I see that usually a sensor is powered up on attempting a > VIDIOC_STREAMON > > at the capture endpoint of the pipeline, in which the sensor is linked. > > > > Now, what I don't understand quite well is, the Lens driver is a > separate > > subdevice, BUT it's obviously not linked to the sensor, nor the > pipeline. > > > > How would the lens driver know when to power up? > > At the moment a userspace application needs to keep the lens subdev open > to > power-up the lens controller. I see... So in that case, does it make sense to consider it as a media entity? I mean, there's no link, nor pad operations involved, so it doesn't really add any value... What do you think? Regards, Sergio > > -- > Regards, > > Laurent Pinchart -- 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