Skip to content

Commit

Permalink
drm/nouveau/clk/gt215: u32->s32 for difference in req. and set clock
Browse files Browse the repository at this point in the history
This difference can of course be negative too...

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Roy Spliet authored and Ben Skeggs committed Jul 27, 2015
1 parent 7512223 commit 9694554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ gt215_clk_info(struct nvkm_clk *clock, int clk, u32 khz,
struct gt215_clk_info *info)
{
struct gt215_clk_priv *priv = (void *)clock;
u32 oclk, sclk, sdiv, diff;
u32 oclk, sclk, sdiv;
s32 diff;

info->clk = 0;

Expand Down

0 comments on commit 9694554

Please sign in to comment.