All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acpi-video: Fix backlight taking 2 steps on a brightness key press
@ 2014-07-16 11:25 Hans de Goede
  2014-07-16 11:25 ` [PATCH] acpi-video: Fix backlight taking 2 steps on a brightness up/down keypress Hans de Goede
  2014-07-16 12:03 ` [PATCH] acpi-video: Fix backlight taking 2 steps on a brightness key press Bjørn Mork
  0 siblings, 2 replies; 5+ messages in thread
From: Hans de Goede @ 2014-07-16 11:25 UTC (permalink / raw)
  To: Rafael J. Wysocki, Linus Torvalds, Bjørn Mork; +Cc: linux-acpi

Hi All,

Here is my cleaned-up version of Linus' patch to fix the 2 steps on a
brightness key press problem.

Changes compared to Linus' version:
-Move the global variables to inside struct acpi_video_device
-Rebase on top of Rafael's linux-pm linux-next branch (so on top of the
 revert of changing the brightness_switch_enabled default)

I've tested this on a laptop affected by the 2 steps problem and I can confirm
that it fixes the 2 steps issue under normal usage. I managed to trigger the
race by generating a heavy io-load, as exptected hitting the race has no
unwanted side-effects other then taking 2 steps instead of one.

Bjørn can you test this patch on your system and confirm that it does not
break things for you please ? Note that in order to apply it you first need
to do: "git revert 886129a8eebebec", as the revert has not yet reached
Linus' tree AFAIK.

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-16 21:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 11:25 [PATCH] acpi-video: Fix backlight taking 2 steps on a brightness key press Hans de Goede
2014-07-16 11:25 ` [PATCH] acpi-video: Fix backlight taking 2 steps on a brightness up/down keypress Hans de Goede
2014-07-16 12:03 ` [PATCH] acpi-video: Fix backlight taking 2 steps on a brightness key press Bjørn Mork
2014-07-16 14:32   ` Hans de Goede
2014-07-16 21:26     ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.