Variable Clock Frequency and Power Saving
Werner Almesberger
werner at openmoko.org
Wed Nov 5 14:58:29 CET 2008
Jonas Bonn wrote:
> + * ******FIXME******: select good errno's to return for these cases
Always a fun thing to do :-) How about these ?
> + * -EWAIT_FOR_NOTIFCATION : the clock frequency must be adjusted to meet the
> + * device constraints; the device can consider itself engaged to
> + * the clock, but should wait for a frequency change notification
> + * before enabling itself
-EINPROGRESS
> + * -EANOTHER_DEVICE_PREVENTS_ENGAGEMENT: another device is already
> engaged to the
> + * clock with constraints that do not intersect with this
> + * device's constraints; it will be impossible to engage at
> + * this time and the device remains unengaged (the device can
> + * change its constraints and try again, if the device spec
> + * allows)
-EBUSY
- Werner
More information about the openmoko-kernel
mailing list