Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932504AbbGQI41 (ORCPT ); Fri, 17 Jul 2015 04:56:27 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:41978 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946041AbbGQItp (ORCPT ); Fri, 17 Jul 2015 04:49:45 -0400 X-AuditID: cbfee61b-f79416d0000014c0-42-55a8c1a3fd6d 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 , Ben Dooks Subject: [PATCH/RFC 38/51] leds: s3c24xx: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:24 +0200 Message-id: <1437122857-6765-39-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+t9jAd3FB1eEGhzukLBYfvozi8XRnROZ LHqvPme0uLxrDpvF1jfrGC1273rKatHZN43Fgd1j56y77B575v9g9ejbsorR4/ybqSweTafa WT0+b5ILYIvisklJzcksSy3St0vgyrjy7QJbwRa2iknrdRoYt7N2MXJySAiYSKyaMosJwhaT uHBvPRuILSSwiFFiwdLALkYuIPsno0TX1B1gDWwChhI/X7wGauDgEBGQk9h5phKkhllgE6PE nkv/wZqFBawltm1eCVbPIqAqMfXmAzCbV8BD4v6BZewgvRICChJzJtmAhDmBwu8frGSB2Osu 0fbnItsERt4FjAyrGEVTC5ILipPSc430ihNzi0vz0vWS83M3MYJD65n0DsZVDRaHGAU4GJV4 eBtcV4QKsSaWFVfmHmKU4GBWEuGt3AkU4k1JrKxKLcqPLyrNSS0+xCjNwaIkznsy3ydUSCA9 sSQ1OzW1ILUIJsvEwSnVwNj0mEXJkCe2eef9k9uubS5KuKUoeyt9suOhuyf/2uhufTw1Tu3a nG+nio+HVV2aeifQdNHNFT/btcMSZQyWq4iJvy9xaLu4m6niIFOva8EqDYtaA03Th3vkEr8e uaj9sp5VpX3O9Ce3YspMRB/mLL7APO10dHPHzuerf1rwPXuwmvU/W2fGXGUlluKMREMt5qLi RACPtG9vKQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 30 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Ben Dooks --- drivers/leds/leds-s3c24xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c index 83641a7..ed61bf9 100644 --- a/drivers/leds/leds-s3c24xx.c +++ b/drivers/leds/leds-s3c24xx.c @@ -84,7 +84,7 @@ static int s3c24xx_led_probe(struct platform_device *dev) led->cdev.brightness_set = s3c24xx_led_set; led->cdev.default_trigger = pdata->def_trigger; led->cdev.name = pdata->name; - led->cdev.flags |= LED_CORE_SUSPENDRESUME; + led->cdev.flags |= LED_CORE_SUSPENDRESUME | LED_BRIGHTNESS_FAST; led->pdata = pdata; -- 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/