Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964798AbbGQIy7 (ORCPT ); Fri, 17 Jul 2015 04:54:59 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:50499 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946061AbbGQIty (ORCPT ); Fri, 17 Jul 2015 04:49:54 -0400 X-AuditID: cbfee61a-f79516d000006302-55-55a8c1ae3d4a 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 , Chris Boot Subject: [PATCH/RFC 42/51] leds: net48xx: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:28 +0200 Message-id: <1437122857-6765-43-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+NgFprKLMWRmVeSWpSXmKPExsVy+t9jAd11B1eEGszaYW2x5qirxdGdE5ks eq8+Z7S4vGsOm8XWN+sYLXbvespq0dk3jcWB3ePzymUsHjtn3WX32DP/B6tH35ZVjB5Np9pZ PT5vkgtgi+KySUnNySxLLdK3S+DKOLx6PVPBabaKuSe/sjUwnmDtYuTkkBAwkdh54SEThC0m ceHeejYQW0hgEaNEyzHVLkYuIPsno8TMq2sZQRJsAoYSP1+8Bmrg4BARkJPYeaYSJMwssIlR YtkOOxBbWMBa4u6i3cwgNouAqsTs1xPZQWxeAQ+JHT+XsoG0SggoSMyZZAMS5gQKv3+wkgVi rbtE25+LbBMYeRcwMqxiFE0tSC4oTkrPNdQrTswtLs1L10vOz93ECA6sZ1I7GFc2WBxiFOBg VOLhbXBdESrEmlhWXJl7iFGCg1lJhLdyJ1CINyWxsiq1KD++qDQntfgQozQHi5I478l8n1Ah gfTEktTs1NSC1CKYLBMHp1QDo+OnKz59uh+tdmSwSN9UFQuYt/vFnN1OPzS9Xk6b2nr0kmPv W/3579eFGjIsf7/kQ+1Dx3//FLyCvm57fu/yvR2/X2RLqe8Ic6hvV9ap4HvOc5Hj8OmS9e1Z tWahSy++Co2zmN4uOGu58YXAk22MxXeeOVqJxvSZvDmQ3X2nKV0g1LfOm+XsZCWW4oxEQy3m ouJEALB/QOIoAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1063 Lines: 30 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Chris Boot --- drivers/leds/leds-net48xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-net48xx.c b/drivers/leds/leds-net48xx.c index ec3a2e8..8644341 100644 --- a/drivers/leds/leds-net48xx.c +++ b/drivers/leds/leds-net48xx.c @@ -34,7 +34,7 @@ static void net48xx_error_led_set(struct led_classdev *led_cdev, static struct led_classdev net48xx_error_led = { .name = "net48xx::error", .brightness_set = net48xx_error_led_set, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static int net48xx_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/