ACPI / video: skip evaluating _DOD when it does not exist
authorAlex Hung <alex.hung@canonical.com>
Fri, 27 May 2016 07:47:06 +0000 (15:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Mar 2017 10:13:17 +0000 (12:13 +0200)
commit962c66c74184b1c7927f5906c9848e605fe8b236
tree09c83c317ced00b504427e7a3f75795e377a142f
parent12e1a3cd11ea373143e957cf9698a26a4e43f4a6
ACPI / video: skip evaluating _DOD when it does not exist

commit e34fbbac669de0b7fb7803929d0477f35f6e2833 upstream.

Some system supports hybrid graphics and its discrete VGA
does not have any connectors and therefore has no _DOD method.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Reviewed-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpi_video.c