]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc32: Fix typo in USB sleep code on intrepid based laptops
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 27 May 2004 17:38:10 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 27 May 2004 17:38:10 +0000 (10:38 -0700)
This 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@sigxcpu.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/platforms/pmac_feature.c

index 493f4a2ac86db949b0433d3173ed695167c80947..abd06fc82a34d33e77cf605ce18dceb76a755f4d 100644 (file)
@@ -1156,7 +1156,7 @@ core99_usb_enable(struct device_node* node, long param, long value)
                        (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);