900af0d breaks some embedded suspend/resume

From: Russell King
Date: Fri Apr 17 2009 - 19:10:49 EST


Some platforms need to talk via I2C to power control devices during
the suspend method. Currently, they do this via the platform PM ops
prepare callback, relying on the I2C driver being hooked into the
'late' suspend method, and hence being shut down _after_ the prepare
callback.

However, as of the above commit, the ordering is changed such that
platforms don't get notified of suspends until after all devices are
well and truely shut down.

This can't work, and actively breaks some platforms.

Please come up with another solution for your PCI problems, or provide
alternative equivalent functionality where the platform code is notified
of the PM event prior to the late suspend callback being issued.

--
Russell King
--
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/