drm/nv50/pm: fix a typo in clock calculation
authorMartin Peres <martin.peres@ensi-bourges.fr>
Tue, 1 Nov 2011 10:38:16 +0000 (11:38 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:33 +0000 (19:01 +1000)
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_pm.c

index e7ff5acce65ff8038958afbafe7acfdc52711220..e025cae5ef2346bea92169e172a5b2d035623e89 100644 (file)
@@ -295,7 +295,7 @@ read_clk(struct drm_device *dev, enum clk_src src)
                        case 0x00000800:
                                return read_clk(dev, clk_src_hclkm3d2) >> P;
                        case 0x00000c00:
-                               return read_pll(dev, clk_src_mclk) >> P;
+                               return read_clk(dev, clk_src_mclk) >> P;
                        }
                        break;
                }