Re: [PATCH 2/2] Fix console handling during suspend/resume

Linus Torvalds
2006-06-22T23:21:37Z

On Thu, 22 Jun 2006, Linus Torvalds wrote:
>
> Actually, it won't break a single driver for STR.
>
> Why? Because if you do it the old way, STR will still happen to work. I'm
> just giving you a separate phase.

For STD, it _will_ break. If you don't do a good freeze/unfreeze, the new
world order would break you. Your new save_state + freeze would have to
save off enough info for resume().

But even then, you could make drivers "compatible" with the new order by
just using your old "suspend()" as "freeze()".

Sane drivers can do something saner.

Linus