Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757113AbbGQIvw (ORCPT ); Fri, 17 Jul 2015 04:51:52 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:48908 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946103AbbGQIuJ (ORCPT ); Fri, 17 Jul 2015 04:50:09 -0400 X-AuditID: cbfee61a-f79516d000006302-77-55a8c1c05dff 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 , Louis Davis , Jim Dailey Subject: [PATCH/RFC 48/51] leds: dell: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:34 +0200 Message-id: <1437122857-6765-49-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1437122857-6765-1-git-send-email-j.anaszewski@samsung.com> References: <1437122857-6765-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLLMWRmVeSWpSXmKPExsVy+t9jAd0DB1eEGtz+LWhxdOdEJoveq88Z LZ492cRicXnXHDaLrW/WMVrcmvuHyWL3rqesFp1901gcODwmzZzB7LFz1l12jz3zf7B69G1Z xejRdKqd1ePzJrkAtigum5TUnMyy1CJ9uwSujKXvFjAVTGWruLrhNGMD4wTWLkZODgkBE4lD R7axQdhiEhfurQeyuTiEBBYxSuzZ2ssM4fxklOh+e5QFpIpNwFDi54vXTF2MHBwiAnISO89U gtQwC9xilNi8aQUzSI2wgIXEs8Xv2EFsFgFViRlTJoDFeQU8JL5/W8oI0ishoCAxZ5INSJgT KPz+wUqw8UIC7hJtfy6yTWDkXcDIsIpRNLUguaA4KT3XUK84Mbe4NC9dLzk/dxMjONCeSe1g XNlgcYhRgINRiYe3wXVFqBBrYllxZe4hRgkOZiUR3sqdQCHelMTKqtSi/Pii0pzU4kOM0hws SuK8J/N9QoUE0hNLUrNTUwtSi2CyTBycUg2MZ7YsXODz1EfE73NwS6izx3SJvG1677LOO369 Uzjb6qBv37mOfrujHJPnam5+yV0cUH5ykdCae5E7dEpyXYRbvldcn1qRw9Ddvi6e+2BDhLa6 UMQ9VyHdzy5LJLNdbhjMbFptL8PPVqt1Xe/mNXcuNqt39x2W817MjkxZ1LNgl3etzEeZm8uV WIozEg21mIuKEwFPLNA9MAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 31 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Louis Davis Cc: Jim Dailey --- drivers/leds/dell-led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/dell-led.c b/drivers/leds/dell-led.c index c36acaf..159231b 100644 --- a/drivers/leds/dell-led.c +++ b/drivers/leds/dell-led.c @@ -320,7 +320,7 @@ static struct led_classdev dell_led = { .max_brightness = 1, .brightness_set = dell_led_set, .blink_set = dell_led_blink, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static int __init dell_led_init(void) -- 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/