Re: [RFC] gpiolib-acpi: make sure we trigger edge events at least once on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 07/06/2018 01:13 PM, Andy Shevchenko wrote:
On Fri, 2018-07-06 at 11:32 +0200, Hans de Goede wrote:
From: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

On some systems using edge triggered ACPI Event Interrupts, the
initial
state at boot is not setup by the firmware, instead relying on the
edge
irq event handler running at least once to setup the initial state.

I have read the discussion and it sounds like the best we can have right
now (if it's indeed fixes all issues listed).


One nit

+		handler(-1, event);

use 'irq' instead of '-1'.

Ok, I've fixed this up in my local version. I will send out a non
RFC version with this fixed once I've had a chance to run the
tests which I want to run.

Regards,

Hans

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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux