Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1204946
| From | Jacek Anaszewski <j.anaszewski@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH/RFC v5 57/57] leds: clevo-mail: Set LED_BRIGHTNESS_BLOCKING flag |
| Date | 2015-08-11 11:50 +0200 |
| Message-ID | <pWelY-1jK-25@gated-at.bofh.it> (permalink) |
| References | <pWeci-17Z-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 linux.kernel | Previous | Next | Find similar | Unroll thread
[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
csiph-web