Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug Labs base battery status led trigger fix..

Signed-off-by: Matt Isaacs <haveahennessy@gmail.com>
  • Loading branch information...
commit 95963dafd10cf073eccf1f424707e0046ec0d1af 1 parent fac0200
@haveahennessy haveahennessy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 drivers/leds/ledtrig-bqsig.c
View
4 drivers/leds/ledtrig-bqsig.c
@@ -61,8 +61,8 @@ static void irq_handler_work(struct work_struct *work)
printk(KERN_INFO "WARNING: Low Battery!\n");
}
else {
- led_trigger_event(bqsig->batt_normal_trig, LED_OFF);
- led_trigger_event(bqsig->batt_low_trig, LED_FULL);
+ led_trigger_event(bqsig->batt_normal_trig, LED_FULL);
+ led_trigger_event(bqsig->batt_low_trig, LED_OFF);
printk(KERN_INFO "WARNING: Battery Level Safe\n");
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.