Home
last modified time | relevance | path

Searched hist:"7 ee33baabcae765e1eda73b988a62fe102c0ce76" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/acpi/
H A Dacpi_video.cdiff 7ee33baabcae765e1eda73b988a62fe102c0ce76 Tue Jun 16 16:27:53 CEST 2015 Hans de Goede <hdegoede@redhat.com> ACPI / video: Move dmi_check_system from module_init to acpi_video_register

When builtin there is no guarantee in which order module_init functions
are run, so acpi_video_register() may get called from the i915 driver
(if it is also builtin) before acpi_video_init() gets called, resulting
in the dmi quirks not yet being parsed.

This commit moves the dmi_check_system() call to acpi_video_register(),
so that we can be sure the dmi quirks have always been applied before
probing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>