drm/nouveau: fix reclocking on nv40
authorPali Rohár <pali.rohar@gmail.com>
Fri, 16 Aug 2013 12:57:07 +0000 (14:57 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Aug 2013 01:36:08 +0000 (11:36 +1000)
commit0ff42c5af6031c776d6079d67cd2615121e62fb8
tree104ea758dbfb43da2edf819239240cf638d9da5f
parent18902bbf06a93ea497be2f177a6323ed9e5f30be
drm/nouveau: fix reclocking on nv40

In commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced
error which cause that reclocking on nv40 not working anymore.
There is missing assigment of return value from pll_calc to ret.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv40_pm.c