Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946170AbbGQIvO (ORCPT ); Fri, 17 Jul 2015 04:51:14 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:38978 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946075AbbGQIuP (ORCPT ); Fri, 17 Jul 2015 04:50:15 -0400 X-AuditID: cbfee61b-f79416d0000014c0-90-55a8c1c5628e 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 , "David S. Miller" Subject: [PATCH/RFC 50/51] leds: sunfire: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:36 +0200 Message-id: <1437122857-6765-51-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+NgFprGLMWRmVeSWpSXmKPExsVy+t9jAd2jB1eEGsx8Z2VxdOdEJos551tY LHqvPme0uLxrDpvF1jfrGC1273rKatHZN43Fgd1jy8qbTB47Z91l99gz/werR9+WVYweTafa WT0+b5ILYIvisklJzcksSy3St0vgytj59T9rQS9bRffs6+wNjH2sXYycHBICJhJr3hxnhrDF JC7cW8/WxcjFISSwiFFiz4Y7LBDOT0aJZTePgHWwCRhK/HzxmqmLkYNDREBOYueZSpAws8Be Roklj8RAbGEBa4ltK6eBlbAIqEq8/20BEuYV8JB4eOwYI0hYQkBBYs4kG5AwJ1D4/YOVLCC2 kIC7RNufi2wTGHkXMDKsYhRNLUguKE5KzzXSK07MLS7NS9dLzs/dxAgOrWfSOxhXNVgcYhTg YFTi4W1wXREqxJpYVlyZe4hRgoNZSYS3cidQiDclsbIqtSg/vqg0J7X4EKM0B4uSOO/JfJ9Q IYH0xJLU7NTUgtQimCwTB6dUA2OVqPzREOtle/fnCXPM+cc5x3b2/Mptui4GLFb9h1qSrx13 3LVr1cSgxF3RXcJpSyviO3LqcsLdDjv8rA5Yfvdynwe/m7mCsnJOWNJyjVeTSuvU8w3b9Ff/ rJZ9VHuWT327ybfPM7dGblnOn16/WFqkaDP7dz9mwx6ztOjZJ8yjBGOlEtPNlViKMxINtZiL ihMBGkKN0SkCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 29 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: David S. Miller --- drivers/leds/leds-sunfire.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-sunfire.c b/drivers/leds/leds-sunfire.c index c2553c5..4d08e44 100644 --- a/drivers/leds/leds-sunfire.c +++ b/drivers/leds/leds-sunfire.c @@ -146,6 +146,7 @@ static int sunfire_led_generic_probe(struct platform_device *pdev, lp->brightness = LED_FULL; lp->brightness_set = types[i].handler; lp->default_trigger = types[i].default_trigger; + lp->flags |= LED_BRIGHTNESS_FAST; err = led_classdev_register(&pdev->dev, lp); if (err) { -- 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/