]> Git Repo - linux.git/commit - drivers/acpi/video.c
ACPI video: Don't start video device until its associated input device has been allocated
authorIgor Murzov <[email protected]>
Fri, 30 Mar 2012 17:32:09 +0000 (21:32 +0400)
committerLen Brown <[email protected]>
Fri, 30 Mar 2012 19:47:52 +0000 (15:47 -0400)
commitb60e7f6166857c76871977794fa266b02da1f394
treee101d6548b7a841ffca1e20fd10cf54f4d80bace
parentea9f8856bd6d4ed45885b06a338f7362cd6c60e5
ACPI video: Don't start video device until its associated input device has been allocated

Quoth Dmitry Torokhov:
In addition to bus notifier we do install device notifier explicitly
so it might fire up early. The easiest fox would be to move
acpi_video_bus_start_devices() after input_allocate_device() but
before input_register_device() - unregistered input devices can handle
input_event() calls just fine.

May fix crashes reported in:
https://bugzilla.kernel.org/show_bug.cgi?id=40672

Signed-off-by: Igor Murzov <[email protected]>
Signed-off-by: Len Brown <[email protected]>
drivers/acpi/video.c
This page took 0.051346 seconds and 4 git commands to generate.