Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1204946 > unrolled thread
| Started by | Jacek Anaszewski <j.anaszewski@samsung.com> |
|---|---|
| First post | 2015-08-11 11:50 +0200 |
| Last post | 2015-08-11 11:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH/RFC v5 57/57] leds: clevo-mail: Set LED_BRIGHTNESS_BLOCKING flag Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-08-11 11:50 +0200
| From | Jacek Anaszewski <j.anaszewski@samsung.com> |
|---|---|
| Date | 2015-08-11 11:50 +0200 |
| Subject | [PATCH/RFC v5 57/57] leds: clevo-mail: Set LED_BRIGHTNESS_BLOCKING flag |
| Message-ID | <pWelY-1jK-25@gated-at.bofh.it> |
Since implemented brightness_set op uses delays mark the
LED blocking.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: Márton Németh <nm127@freemail.hu>
---
drivers/leds/leds-clevo-mail.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c
index 0f9ed1e..961da85 100644
--- a/drivers/leds/leds-clevo-mail.c
+++ b/drivers/leds/leds-clevo-mail.c
@@ -150,7 +150,8 @@ static struct led_classdev clevo_mail_led = {
.name = "clevo::mail",
.brightness_set = clevo_mail_led_set,
.blink_set = clevo_mail_led_blink,
- .flags = LED_CORE_SUSPENDRESUME,
+ .flags = LED_CORE_SUSPENDRESUME |
+ LED_BRIGHTNESS_BLOCKING,
};
static int __init clevo_mail_led_probe(struct platform_device *pdev)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web