drm/nvd0/disp: ignore clock set if no pclk
authorBen Skeggs <bskeggs@redhat.com>
Fri, 16 Mar 2012 05:32:16 +0000 (15:32 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 22 Mar 2012 07:18:00 +0000 (17:18 +1000)
commitdd62608bcc8a629c4c583fb50b90003fd5213516
tree81a52947d3f7a0522353828340eb6e8d4fa04eed
parent27100ac95a8eee0b083e46bfa67b229ac641d28c
drm/nvd0/disp: ignore clock set if no pclk

This happens somehow during init on a machine I have, and leads to a
divide-by-zero.

Lets avoid that...

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvd0_display.c