[PATCH/RFC] via-pmu: remove mdelays from suspend/resume code

Brad Boyer flar at allandria.com
Sat Apr 5 04:20:06 EST 2008


On Thu, Apr 03, 2008 at 05:44:44PM +0200, Johannes Berg wrote:
> I don't see a reason for either of those mdelay()s, is there any? Works
> fine for me without them...

Which hardware revisions did you test? I suspect the mdelay calls were
added to work around timing issues in one of the older PMU chips. Some
of them are very timing sensitive, and sleep in particular is basically
a pile of steps that got hacked until they worked on older systems.

	Brad Boyer
	flar at allandria.com




More information about the Linuxppc-dev mailing list