Skip to content
Browse files

Bug Labs base battery status led trigger fix..

Signed-off-by: Matt Isaacs <haveahennessy@gmail.com>
  • Loading branch information...
1 parent fac0200 commit 95963dafd10cf073eccf1f424707e0046ec0d1af @haveahennessy haveahennessy committed
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");
}
}

0 comments on commit 95963da

Please sign in to comment.
Something went wrong with that request. Please try again.