summaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-diag')
-rw-r--r--package/broadcom-diag/src/diag.c2
1 files changed, 2 insertions, 0 deletions
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;