On Wed, Jun 07, 2017 at 04:20:44PM +0100, Alan Cox wrote: > ASUS T100TA, BIOS 3.07, machine version is the variant with the windows > logo on the frame and no Energy Star logo. > > The first one is in the pin controller (or I guess WMI) which now spews > the (non fatal) > > [ 22.491352] Potential Error: Setting GPIO with direct_irq_en to output
Yeah, this sounds like a bug in the BIOS. The direct_irq_en is set which means that the GPIO is routed directly to the IO-APIC (and is expected to be input) but the device in question (WMI?) probably has some ACPI method that uses the GPIO via ACPI Operation Region as output.

