Skip to content
Here is a set of GPIO fixes for the v4.9 kernel series:

- Fix up off-by one and line offset validation, info leak to
  userspace, and reject invalid flags. Those are especially
  valuable hardening patches from Lars-Peter Clausen, all tagged
  for stable.

- Fix module autoload for TS4800 and ATH79.

- Correct the IRQ handler for MPC8xxx to use handle_level_irq()
  as it (A) reacts to edges not levels and (B) even implements
  .irq_ack(). We were missing IRQs here.

- Fix the error path for acpi_dev_gpio_irq_get()

- Fix a memory leak in the MXS driver.

- Fix an annoying typo in the STMPE driver.

- Put a dependency on sysfs to the mockup driver.