Re: [BUG] sdhci regression in 2.6.21-rc2

From: Mark Lord
Date: Mon Mar 05 2007 - 11:18:32 EST


Pierre Ossman wrote:
Mark Lord wrote:

From linux/Documentation/power/pci.txt:

That conveniently leaves out the part of how to handle when we're not
getting our stuff back. ;)

But it seems to be the easier route anyway... I'll whip up a patch.

It's probably best all-round.

But another simpler way is to just set a global "am_suspended" bool
in the _suspend() code, and clear it again in the _resume() code,
and check it in the irq handler() code.

And the test for 0xffffffff (my simple patch) is probably good
to have regardless inside the irq handler().

Cheers
-
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/