On Wed, Dec 14, 2016 at 9:52 PM, Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > The R in PEK_DBR stands for rising, so it should be mapped to > AXP288_IRQ_POKP where the last P stands for positive edge. > > Likewise PEK_DBF should be mapped to the falling edge, aka the > _N_egative edge, so it should be mapped to AXP288_IRQ_POKN. > > This fixes the inverted powerbutton status reporting by the > axp20x-pek driver. > > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Acked-by: Chen-Yu Tsai <wens@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html