* [PATCH] More pmac-zilog sleep fix
@ 2004-03-23 23:03 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2004-03-23 23:03 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linus Torvalds, Linux Kernel list
In the long story of "BenH can't get a simple fix right the first time",
please add this one to pmac_zilog, and now people should enjoy really
working sleep again on pmac laptops ...
If the serial port was closed, we could use an uninitialized "pwr_delay"
and pass that to schedule_timeout().
===== drivers/serial/pmac_zilog.c 1.7 vs edited =====
--- 1.7/drivers/serial/pmac_zilog.c Tue Mar 23 16:56:31 2004
+++ edited/drivers/serial/pmac_zilog.c Wed Mar 24 10:01:17 2004
@@ -1627,7 +1627,7 @@
struct uart_pmac_port *uap = dev_get_drvdata(&mdev->ofdev.dev);
struct uart_state *state;
unsigned long flags;
- int pwr_delay;
+ int pwr_delay = 0;
if (uap == NULL)
return 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-23 23:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-23 23:03 [PATCH] More pmac-zilog sleep fix Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®