diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-11 15:01:30 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-12 20:10:39 +0200 |
| commit | 46577d36611953d1b99e86493289cfc824116ad2 (patch) | |
| tree | 84eecf82719f3f8c40307af27a69b4af282c56da /include/linux/debugobjects.h | |
| parent | 2cf65d00347005eccf9a24801783377d7f920021 (diff) | |
ACPI: video: Fix backlight unregistration ordering
In acpi_video_dev_unregister_backlight(), the sysfs interface of the
cooling class device may access the brightness object under the
backlight device's ACPI companion, so that object cannot be freed
before unregistering the cooling class device.
Adjust the code to take that into account.
Fixes: 67b662e189f4 ("ACPI / video: seperate backlight control and event interface")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
[ rjw: Fixed the Fixes: tag ]
Link: https://patch.msgid.link/3429468.aeNJFYEL58@rafael.j.wysocki
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
