Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1298335
| From | Paul Buonopane <paul@earth2me.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | ideapad_laptop: Fix for backlight regression |
| Date | 2015-12-27 10:30 +0100 |
| Message-ID | <qKfOh-52f-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
26bff5f099722fa7c38796a3ccd0e880cf1a524a introduced a regression in
ideapad_laptop (https://bugzilla.kernel.org/show_bug.cgi?id=110021).
I've created a quick fix as a pull request:
https://github.com/torvalds/linux/pull/236 Here's the patch, for
convenience:
*** drivers/platform/x86/ideapad-laptop.c.old 2015-12-27
03:48:36.243613843 -0500
--- drivers/platform/x86/ideapad-laptop.c 2015-12-27
03:49:28.310280733 -0500
*************** static int ideapad_acpi_add(struct platf
*** 933,939 ****
ideapad_sync_rfk_state(priv);
ideapad_sync_touchpad_state(priv);
! if (acpi_video_get_backlight_type() == acpi_backlight_vendor) {
ret = ideapad_backlight_init(priv);
if (ret && ret != -ENODEV)
goto backlight_failed;
--- 933,939 ----
ideapad_sync_rfk_state(priv);
ideapad_sync_touchpad_state(priv);
! if (acpi_video_get_backlight_type() != acpi_backlight_vendor) {
ret = ideapad_backlight_init(priv);
if (ret && ret != -ENODEV)
goto backlight_failed;
I've tested the patch on a Yoga 900 running 4.3.3 x86_64 with a few
other compatibility patches. Backlight controls work perfectly with it
applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
ideapad_laptop: Fix for backlight regression Paul Buonopane <paul@earth2me.com> - 2015-12-27 10:30 +0100
csiph-web