Re: [patch] enums to clear suspend-state confusion

From: David Brownell
Date: Wed Aug 18 2004 - 13:46:49 EST


On Wednesday 18 August 2004 10:31 am, Alan Cox wrote:
> It would also be nice
> to have a driver flag to indicate which devices can simply be
> hotunplug/hotreplugged over a suspend and don't need extra duplicate
> code.

In fact, that should be the default: if there's no suspend(),
use drivers' unplug/replug logic. Bugs in that code need to be
fixed regardless of PM being used (or not).

Right now that won't work because of a self-deadlock
in the PM core, but that's a fixable problem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/