On Tue, Apr 28, 2015 at 10:36:48AM -0700, sathyanarayanan kuppuswamy wrote:Got it. Thanks.
IIRC Octavian tried to do just that but it turned out that some of theThis requires that the boot firmware (BIOS/coreboot) configures these pinsWhy not configure the GPIO pin as input in the API itself ?
correctly (input, etc) before handing over to OS. I've tested this on Intel
Baytrail, Braswell and Skylake based machines where this is true.
irqchip functions are called with spinlock held, which means you can't
call all gpiod_* functions there (as they might sleep).
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html