X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/96f9164024f12044190c3664c073bfa25893b373..a24cfbd6de1d7fbf94f5a3fea52d4f58679ce418:/package/broadcom-diag/src/diag.c diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index e17f255e5..b0def22e4 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -556,6 +556,8 @@ static irqreturn_t button_handler(int irq, void *dev_id, struct pt_regs *regs) changed = platform.button_polarity ^ in; platform.button_polarity = in; + changed &= ~gpio_outen(0, 0); + for (b = platform.buttons; b->name; b++) { struct event_t *event;