Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946154AbbGQIuY (ORCPT ); Fri, 17 Jul 2015 04:50:24 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:50244 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946133AbbGQIuR (ORCPT ); Fri, 17 Jul 2015 04:50:17 -0400 X-AuditID: cbfee61a-f79516d000006302-87-55a8c1c8de96 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 , Linus Walleij Subject: [PATCH/RFC 51/51] leds: ipaq-micro: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:37 +0200 Message-id: <1437122857-6765-52-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+NgFprCLMWRmVeSWpSXmKPExsVy+t9jAd0TB1eEGmw8ZWBxdOdEJoveq88Z Lab8Wc5kcXnXHDaLrW/WMVrs3vWU1aKzbxqLA7vHzll32T3uXNvD5rFn/g9Wj74tqxg9mk61 s3p83iQXwBbFZZOSmpNZllqkb5fAlXFr3lmWgtNsFTf27WZvYDzC2sXIySEhYCLx+kAXM4Qt JnHh3no2EFtIYBGjxO8eBQj7J6PE4Z/+IDabgKHEzxevmboYOThEBOQkdp6pBAkzC+xjlGg/ ZwtiCwvYSZyddZ8RpIRFQFVi1hxDkDCvgIfExNe/WEDCEgIKEnMm2YCEOYHC7x+sZIFY5C7R 9uci2wRG3gWMDKsYRVMLkguKk9JzDfWKE3OLS/PS9ZLzczcxgsPqmdQOxpUNFocYBTgYlXh4 G1xXhAqxJpYVV+YeYpTgYFYS4a3cCRTiTUmsrEotyo8vKs1JLT7EKM3BoiTOezLfJ1RIID2x JDU7NbUgtQgmy8TBKdXAKPqL+9mzD4ZPgnNazu9Qt3wq+eb+XY/S9ppFNhc4k4rSKsN3uXHV uFb9jmy9PX/zrBXCjprCxzeXxsz9v4JnknGqmbCJqm+pp2dV0CeNGUltvPPL6ju3+ToJ+8rI JHmeNbJLT9+xfv+7zwE/Ez7rNpZznrgZuOP8LcspqgGLjz7VeVcxPWqZEktxRqKhFnNRcSIA CABs1CcCAAA= 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: Linus Walleij --- drivers/leds/leds-ipaq-micro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-ipaq-micro.c b/drivers/leds/leds-ipaq-micro.c index 3776f51..3ac9fa6 100644 --- a/drivers/leds/leds-ipaq-micro.c +++ b/drivers/leds/leds-ipaq-micro.c @@ -104,7 +104,7 @@ static struct led_classdev micro_led = { .name = "led-ipaq-micro", .brightness_set = micro_leds_brightness_set, .blink_set = micro_leds_blink_set, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static int micro_leds_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/