drm/radeon/kms: we should return 0 when we have no modes not -1.
authorDave Airlie <airlied@linux.ie>
Tue, 15 Sep 2009 10:21:11 +0000 (20:21 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 15 Sep 2009 23:15:19 +0000 (09:15 +1000)
commit42dea5ddb56fe10e1d9a7840ddcb1df97a208a99
treed267c48537041780999ea26b9423d8dcb6662d51
parent48e113e516a94ac9622a8326c4de670beb3366e6
drm/radeon/kms: we should return 0 when we have no modes not -1.

This fixes my monitor with broken EDID so it at least get 800x600.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c