aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag/src
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-diag/src')
-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 e17f255e5b..b0def22e46 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;