drm/nouveau/pm: make clocks_set return an error code clocks_set can fail.
commitdd1da8de172057b36860f427777ecfa293bb8f6c
authorMartin Peres <martin.peres@ensi-bourges.fr>
Sat, 9 Jul 2011 22:08:41 +0000 (10 00:08 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:23 +0000 (21 19:01 +1000)
treed31ad5ed9528cb74843a58dc084e9bcdbe2e7587
parent6109183794a711d80c08705d477d2a19b437d5c1
drm/nouveau/pm: make clocks_set return an error code clocks_set can fail.

Reporting an error is better than silently refusing to reclock.

V2: Use the same logic on nv40

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_pm.h
drivers/gpu/drm/nouveau/nv40_pm.c
drivers/gpu/drm/nouveau/nva3_pm.c