[PATCH] ppc32: Fix typo in USB sleep code on intrepid based laptops

From: Benjamin Herrenschmidt
Date: Thu May 27 2004 - 17:03:01 EST


Hi Andrew !

This patch fixes a typo in the low level platform code that puts to
sleep and wakes up the USB cell. This fixes a problem when pmdisk is
used on those machines (pmdisk patch not merged yet, soon maybe...)

From: Guido Guenther <agx@xxxxxxxxxxx>
Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

diff -ub -Naur ../linux-2.6.6.orig/arch/ppc/platforms/pmac_feature.c ./arch/ppc/platforms/pmac_feature.c
--- ../linux-2.6.6.orig/arch/ppc/platforms/pmac_feature.c 2004-05-09 23:33:19.000000000 -0300
+++ ./arch/ppc/platforms/pmac_feature.c 2004-05-26 16:23:47.000000000 -0300
@@ -1156,7 +1156,7 @@
(void)MACIO_IN32(KEYLARGO_FCR1);
mdelay(1);
LOCK(flags);
- MACIO_BIS(KEYLARGO_FCR0, KL1_USB2_CELL_ENABLE);
+ MACIO_BIS(KEYLARGO_FCR1, KL1_USB2_CELL_ENABLE);
}
if (number < 4) {
reg = MACIO_IN32(KEYLARGO_FCR4);


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