Messages in this thread Patch in this message | | | Subject | [PATCH] More pmac-zilog sleep fix | From | Benjamin Herrenschmidt <> | Date | Wed, 24 Mar 2004 10:03:17 +1100 |
| |
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;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |