Commit d4676461 authored by Martin Peres's avatar Martin Peres Committed by Ben Skeggs

drm/nv50/pm: fix a typo in clock calculation

Signed-off-by: default avatarMartin Peres <martin.peres@labri.fr>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 091e40cd
...@@ -295,7 +295,7 @@ read_clk(struct drm_device *dev, enum clk_src src) ...@@ -295,7 +295,7 @@ read_clk(struct drm_device *dev, enum clk_src src)
case 0x00000800: case 0x00000800:
return read_clk(dev, clk_src_hclkm3d2) >> P; return read_clk(dev, clk_src_hclkm3d2) >> P;
case 0x00000c00: case 0x00000c00:
return read_pll(dev, clk_src_mclk) >> P; return read_clk(dev, clk_src_mclk) >> P;
} }
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment