Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757362AbbGQI7N (ORCPT ); Fri, 17 Jul 2015 04:59:13 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:33490 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945987AbbGQIt3 (ORCPT ); Fri, 17 Jul 2015 04:49:29 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee61b-f79416d0000014c0-30-55a8c197ba92 Content-transfer-encoding: 8BIT 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 , =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= , Jonas Gorski Subject: [PATCH/RFC 34/51] leds: bcm6328: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:20 +0200 Message-id: <1437122857-6765-35-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+NgFrrPLMWRmVeSWpSXmKPExsVy+t9jAd0ZB1eEGjzPsTi6cyKTRe/V54wW t9edYrO4vGsOm8XWN+sYLdbcOcRqsXvXU1aLzr5pLA4cHjtn3WX32LI4w2PP/B+sHn1bVjF6 NJ1qZ/X4vEkugC2KyyYlNSezLLVI3y6BK2PX2kksBcvZKnqmTGVvYFzG2sXIySEhYCLxs7WT HcIWk7hwbz0biC0ksIhRYsn0SBCbV0BQ4sfkeyxdjBwczALyEkcuZYOEmQXUJSbNW8TcxcgF VP6TUeLTt1VMIAk2AUOJny9eM4HUiwjISew8UwlR/5dRYuGVNBBbWMBa4v2udSwgNouAqsT5 lwfZIVZ5SDQ2NLODtEoIKEjMmWQDEuYECr9/sJIF4jJ3ibY/F9kmMArMQnLcLITjZiE5bgEj 8ypG0dSC5ILipPRcI73ixNzi0rx0veT83E2M4GB/Jr2DcVWDxSFGAQ5GJR7eBtcVoUKsiWXF lbmHGCU4mJVEeCt3AoV4UxIrq1KL8uOLSnNSiw8xSnOwKInznsz3CRUSSE8sSc1OTS1ILYLJ MnFwSjUw6hxaPj2Uj+W2vKLf32mZjeqGWgtU/954rBt057DqI3brpYuNGIqiSqfr9s9vXqyn OO/sFcsXq/JN2nb82RIv1aS9ZHt1PGNxxivum/Wbt2/4I60Rt2Z1eF7Hu38ciqvkb+cv8Uxh T2i/oBH8euepbm6hLZ/7LGbYGp/fxMoh8Oni/kuXvrsfVmIpzkg01GIuKk4EAInFbFZyAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1027 Lines: 30 The driver neither sleeps nor uses delays in its brightness_set ops. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Álvaro Fernández Rojas Cc: Jonas Gorski --- drivers/leds/leds-bcm6328.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-bcm6328.c b/drivers/leds/leds-bcm6328.c index 986fe1e..99b8524 100644 --- a/drivers/leds/leds-bcm6328.c +++ b/drivers/leds/leds-bcm6328.c @@ -313,6 +313,7 @@ static int bcm6328_led(struct device *dev, struct device_node *nc, u32 reg, led->cdev.brightness_set = bcm6328_led_set; led->cdev.blink_set = bcm6328_blink_set; + led->cdev.flags |= LED_BRIGHTNESS_FAST; rc = led_classdev_register(dev, &led->cdev); if (rc < 0) -- 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/