Displaying 1 result from an estimated 1 matches for "c571437afbd2".
2014 Oct 02
0
[PATCH] drm/nouveau: gk20a: Fix type of dividend in do_div()
...d-off-by: Thierry Reding <treding at nvidia.com>
---
drivers/gpu/drm/nouveau/core/subdev/clock/gk20a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/clock/gk20a.c b/drivers/gpu/drm/nouveau/core/subdev/clock/gk20a.c
index 425a8d5e9129..c571437afbd2 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/clock/gk20a.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/clock/gk20a.c
@@ -138,7 +138,7 @@ gk20a_pllg_read_mnp(struct gk20a_clock_priv *priv)
static u32
gk20a_pllg_calc_rate(struct gk20a_clock_priv *priv)
{
- u32 rate;
+ u64 rate;
u32 divider;...