Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946083AbbGQIt6 (ORCPT ); Fri, 17 Jul 2015 04:49:58 -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 S1946040AbbGQItu (ORCPT ); Fri, 17 Jul 2015 04:49:50 -0400 X-AuditID: cbfee61b-f79416d0000014c0-4d-55a8c1acb6dc 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 , Kristian Kielhofner Subject: [PATCH/RFC 41/51] leds: wrap: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:27 +0200 Message-id: <1437122857-6765-42-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+NgFprBLMWRmVeSWpSXmKPExsVy+t9jAd01B1eEGkzbxGlxdOdEJoveq88Z LX5u7mC3uLxrDpvF1jfrGC1273rKatHZN43Fgd1j56y77B6Tr/WweuyZ/4PVo2/LKkaPplPt rB6fN8kFsEVx2aSk5mSWpRbp2yVwZTybvJap4BVnxb5bR9gaGFs5uhg5OSQETCQeNa5khLDF JC7cW8/WxcjFISSwiFGia9E8FgjnJ6PE18nvWEGq2AQMJX6+eM3UxcjBISIgJ7HzTCVIDbPA LkaJI5tns4PUCAtYSFzcepEZxGYRUJU4/nE2G4jNK+AhcebDJRaQXgkBBYk5k2xAwpxA4fcP VrKA2EIC7hJtfy6yTWDkXcDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/dxMjOLyeSe9gXNVg cYhRgINRiYe3wXVFqBBrYllxZe4hRgkOZiUR3sqdQCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8 J/N9QoUE0hNLUrNTUwtSi2CyTBycUg2MCeLWdxMCFl0M53nAJi31p6yLVYnxFufG0twtEWHn 094mXujlMgpZ+NNx9jUp7RuBuqWLY1/Ibt7yUWxtxL0a5vT3HHMK13tM32tYG1BVMrcweLWL pIhaYA5/8qYy76MzJmh+1X7HrPxt5+ucLywHLhseDT39PrrJzyt457vHX+K4NG8f2i6uxFKc kWioxVxUnAgAxtXFrCsCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1464 Lines: 44 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Kristian Kielhofner --- drivers/leds/leds-wrap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/leds/leds-wrap.c b/drivers/leds/leds-wrap.c index 1ba3def..dfc9e73 100644 --- a/drivers/leds/leds-wrap.c +++ b/drivers/leds/leds-wrap.c @@ -57,19 +57,19 @@ static struct led_classdev wrap_power_led = { .name = "wrap::power", .brightness_set = wrap_power_led_set, .default_trigger = "default-on", - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static struct led_classdev wrap_error_led = { .name = "wrap::error", .brightness_set = wrap_error_led_set, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static struct led_classdev wrap_extra_led = { .name = "wrap::extra", .brightness_set = wrap_extra_led_set, - .flags = LED_CORE_SUSPENDRESUME, + .flags = LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST, }; static int wrap_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/