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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 7 Apr 2017 07:17:45 +0000 (09:17 +0200)
commit4bdc5ba8a48cd171368def87ec1e701bdd8c5a9c
tree55ee25ca6bd59a8126c127789c3e7d17076b7152
parentf42108f6ddacf93dcdd71149e1cf5abbc90b9a54
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: Jiri Slaby <jslaby@suse.cz>
drivers/acpi/video.c