Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756968AbbGQIwl (ORCPT ); Fri, 17 Jul 2015 04:52:41 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:37272 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946088AbbGQIuD (ORCPT ); Fri, 17 Jul 2015 04:50:03 -0400 X-AuditID: cbfee61b-f79416d0000014c0-6d-55a8c1bae9f7 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 , Kristoffer Ericson Subject: [PATCH/RFC 46/51] leds: hp6xx: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:32 +0200 Message-id: <1437122857-6765-47-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+NgFprELMWRmVeSWpSXmKPExsVy+t9jAd1dB1eEGqx8KWxxdOdEJoveq88Z LeadlLC4vGsOm8XWN+sYLXbvespq0dk3jcWB3WPnrLvsHnvm/2D16NuyitGj6VQ7q8fnTXIB rFFcNimpOZllqUX6dglcGQsurmAs2MpRceP5S5YGxj9sXYycHBICJhIHTq1ngrDFJC7cWw8U 5+IQEljEKDHvzkRGCOcno8STG88ZQarYBAwlfr54DdTBwSEiICex80wlSA2zwHFGieZJN1lB aoQFLCV6X3xkAbFZBFQlDnbPZwaxeQU8JN5sWckO0ishoCAxZ5INSJgTKPz+wUqwciEBd4m2 PxfZJjDyLmBkWMUomlqQXFCclJ5rpFecmFtcmpeul5yfu4kRHFLPpHcwrmqwOMQowMGoxMPb 4LoiVIg1say4MvcQowQHs5IIb+VOoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHek/k+oUIC6Ykl qdmpqQWpRTBZJg5OqQZGNfFWm32Nc8y/9M65Vhe6uVSk8srZ0A9/Z81qfb+xwW/GE4cJ0zkK Fi3P5PV9LXTJS/Pq+UkWl5R2LT7sZ9HruuuD9uYXORv6WlvisuJZ9/pfetNh+uF44uEtj2R/ /du+UshdOf7bXu/FHxguKKXXnbm/vGJh7HzLHUv3f+Y2mciWcu/6jE1ylUosxRmJhlrMRcWJ AMo06k4lAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 38 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Kristoffer Ericson --- drivers/leds/leds-hp6xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/leds/leds-hp6xx.c b/drivers/leds/leds-hp6xx.c index 0b84c01..8f369fb 100644 --- a/drivers/leds/leds-hp6xx.c +++ b/drivers/leds/leds-hp6xx.c @@ -45,14 +45,14 @@ static struct led_classdev hp6xx_red_led = { .name = "hp6xx:red", .default_trigger = "hp6xx-charge", .brightness_set = hp6xxled_red_set, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static struct led_classdev hp6xx_green_led = { .name = "hp6xx:green", .default_trigger = "ide-disk", .brightness_set = hp6xxled_green_set, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static int hp6xxled_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/