]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/radeon/kms/atom: fix potential oops in spread spectrum code
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 28 Oct 2009 04:51:20 +0000 (00:51 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Oct 2009 05:30:03 +0000 (15:30 +1000)
commitd11aa88b33b071d55181a7a482b9e7494888c10e
tree8b95c80e299383c41b7ede5485ebf45b25b6e5ed
parenta2d49ae7df5b96fba3c63710df61412587fc6a24
drm/radeon/kms/atom: fix potential oops in spread spectrum code

Make sure we have an LVDS encoder before casting enc_priv.

[airlied: also fix two missing cpu_to_le16 casts we noticed on irc]

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c