From 94556d50091309abe63ae295113e2b7be3710737 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 1 Dec 2010 18:34:00 -0800 Subject: [PATCH] Revert "leds: cpcap: HACK: turn off led for brightness of 0 and 1." This reverts commit d791b66f35e963d6b50d9f6809198d94ddd5bb1c. --- drivers/leds/leds-ld-cpcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-ld-cpcap.c b/drivers/leds/leds-ld-cpcap.c index df0e697de019..0c114f18c608 100755 --- a/drivers/leds/leds-ld-cpcap.c +++ b/drivers/leds/leds-ld-cpcap.c @@ -84,7 +84,7 @@ static void cpcap_brightness_work(struct work_struct *work) brightness = cpcap_led_data->brightness; - if (brightness > 1) { + if (brightness > 0) { brightness = (cpcap_led_data->pdata->cpcap_reg_period | cpcap_led_data->pdata->cpcap_reg_duty_cycle | cpcap_led_data->pdata->cpcap_reg_current | -- 2.34.1