aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 81766ebec843..177b4ddc3479 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1275,6 +1275,9 @@ int acpi_video_get_edid(struct acpi_device *device, int type, int device_id,
1275 if (!video_device) 1275 if (!video_device)
1276 continue; 1276 continue;
1277 1277
1278 if (!video_device->cap._DDC)
1279 continue;
1280
1278 if (type) { 1281 if (type) {
1279 switch (type) { 1282 switch (type) {
1280 case ACPI_VIDEO_DISPLAY_CRT: 1283 case ACPI_VIDEO_DISPLAY_CRT: