ACPI video: check cap._DDC flag before getting EDID
authorZhang Rui <rui.zhang@intel.com>
Mon, 6 Dec 2010 07:04:24 +0000 (15:04 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 14 Dec 2010 05:04:59 +0000 (00:04 -0500)
commit82069552555cf951d9ade5c1aec61dd40b0765b5
tree60cccea9bbd82d49dea6be1fcba5453911e12482
parent677bd810eedce61edf15452491781ff046b92edc
ACPI video: check cap._DDC flag before getting EDID

cap._DDC is defined but never used.
Check this flag now and don't try to get EDID for video output devices with this flag cleared.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c