On 4 Jun 2010, at 00:57, Lars-Peter Clausen wrote: > Mark Brown wrote: > Uhm, actually this code path is taken when switching from _OFF to > another state. If it is guaranteed that _OFF is always followed by a > certain other state I could put the reset code in its part of the switch > statement. The only possible transitions are OFF <-> STANDBY <-> PREPARE <-> ON