Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934274AbbHKJlK (ORCPT ); Tue, 11 Aug 2015 05:41:10 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:49193 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934234AbbHKJlD (ORCPT ); Tue, 11 Aug 2015 05:41:03 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee61b-f79706d000001b96-09-55c9c32dab76 Content-transfer-encoding: 8BIT From: Jacek Anaszewski To: linux-leds@vger.kernel.org Cc: linux-kernel@vger.kernel.org, cooloney@gmail.com, rpurdie@rpsys.net, stsp@users.sourceforge.net, Jacek Anaszewski , =?UTF-8?q?M=C3=A1rton=20N=C3=A9meth?= Subject: [PATCH/RFC v5 57/57] leds: clevo-mail: Set LED_BRIGHTNESS_BLOCKING flag Date: Tue, 11 Aug 2015 11:38:10 +0200 Message-id: <1439285890-27329-58-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1439285890-27329-1-git-send-email-j.anaszewski@samsung.com> References: <1439285890-27329-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsVy+t9jQV3dwydDDd59sLA4unMik0Xv1eeM Fpd3zWGz2PpmHaPFmx2nWS1273rKatHZN43Fgd1jSccPdo+ds+6ye+yZ/4PVo2/LKkaPplPt rB6fN8kFsEVx2aSk5mSWpRbp2yVwZfz+so294BRbxYJfOQ2MB1i7GDk5JARMJC692cQOYYtJ XLi3nq2LkYtDSGAWo0T3409sIAleAUGJH5PvsXQxcnAwC8hLHLmUDRJmFlCXmDRvETNE/U9G if+Lf4MNYhMwlPj54jUTSL2IgJzEzjOVEPXnGSXeTLUAsYUFAiSmd8xmArFZBFQlVtxdwQix ylPi98YX7CCtEgIKEnMm2YCEOYHC158vAisREvCQOD67iW0CI9CNCMfNQjhuFpLjFjAyr2KU SC1ILihOSs81ykst1ytOzC0uzUvXS87P3cQIDvZn0jsYD+9yP8QowMGoxAN0w8lQIdbEsuLK 3EOMEhzMSiK8hVOBQrwpiZVVqUX58UWlOanFhxilOViUxHn1TTaFCgmkJ5akZqemFqQWwWSZ ODilGhjnTu9fOPlIxUrGg2V/c+7NW/4icXnoLYng3RaPM2079z+ZFrejaf3bySn1uxq4mNnW NZxaELmqK3OST5TV5Admh29E139UPFp+L3cee+b1k46v6k/q7ebOUORTuBvNrHBZV8RW7Yyf cuNvfif1Jg7Ni6oZr5YfvRp+qi9v71GNUE7toJ9hsXOVWIozEg21mIuKEwGxBuQzcgIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1061 Lines: 31 Since implemented brightness_set op uses delays mark the LED blocking. Signed-off-by: Jacek Anaszewski Cc: Márton Németh --- 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/