> that's a problem... if meego does not support S3, how can camera driver know
> if the system is going to
> suspend?
The system *doesn't* suspend -- ever.
The "AO" in "AOAC" means "Always On".
Your device driver is responsible for recognizing when its device
is unused or idle, and it is responsible for using device run-time
power management for shutting off the power-draining device.
> is there any other PM interfaces I can use?
Yes.
These are the only ones that matter:
static const struct dev_pm_ops mrst_isp_pm_ops = {
.runtime_suspend = mrst_isp_pci_runtime_suspend,
.runtime_resume = mrst_isp_pci_runtime_resume,
.runtime_idle = mrst_isp_pci_runtime_idle,
};
> otherwise, if I have to add the power-off in the file close method when on
> one is opening, I can only
> implement a software power down.
When the device is not being used, then the device should take 0 mW.
If the device or its drivers doesn't support that,
then it must be removed from the product.
cheers,
-Len
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel