Skip to content

Commit

Permalink
drm/nv50/pm: fix a typo in clock calculation
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Martin Peres authored and Ben Skeggs committed Dec 21, 2011
1 parent 091e40c commit d467646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nv50_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d467646

Please sign in to comment.