projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7512223
)
drm/nouveau/clk/gt215: u32->s32 for difference in req. and set clock
author
Roy Spliet
<rspliet@eclipso.eu>
Sat, 23 May 2015 08:37:42 +0000
(10:37 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 27 Jul 2015 08:56:07 +0000
(18:56 +1000)
This difference can of course be negative too...
Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c
index
822d32a
..
065e9f5
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c
@@
-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;