git: gpio_intel: Handle level triggered interrupts more correctly.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Apr 10 13:04:32 PDT 2016


commit 3094cc64dd9b2a070f838100e95bc36c314949a6
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Apr 9 12:15:56 2016 +0200

    gpio_intel: Handle level triggered interrupts more correctly.
    
    * Clearing the interrupt status bit needs to be done after handling
      the level-triggered gpio interrupt.
    
    * This avoids duplicate interrupts for level-triggered GpioInt lines.

Summary of changes:
 sys/bus/gpio/gpio_intel/gpio_cherryview.c | 17 +++++++++++++++--
 sys/bus/gpio/gpio_intel/gpio_intel_var.h  |  1 +
 2 files changed, 16 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3094cc64dd9b2a070f838100e95bc36c314949a6


-- 
DragonFly BSD source repository



More information about the Commits mailing list