Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757325AbbGQIxY (ORCPT ); Fri, 17 Jul 2015 04:53:24 -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 S1946068AbbGQIt5 (ORCPT ); Fri, 17 Jul 2015 04:49:57 -0400 X-AuditID: cbfee61a-f79516d000006302-58-55a8c1b17c63 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 , Paul Parsons Subject: [PATCH/RFC 43/51] leds: asic3: Mark the LED fast Date: Fri, 17 Jul 2015 10:47:29 +0200 Message-id: <1437122857-6765-44-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+NgFprOLMWRmVeSWpSXmKPExsVy+t9jAd2NB1eEGvTcMLQ4unMik0Xv1eeM Fpd3zWGz2PpmHaPFj75tbBa7dz1ltejsm8biwO6xc9Zddo8983+wevRtWcXo0XSqndXj8yY5 j1mzDjMFsEVx2aSk5mSWpRbp2yVwZRza6V8wma3i6qxTTA2Ms1i7GDk5JARMJGZ/38wGYYtJ XLi3Hsjm4hASWMQo8ebGD2YI5yejxI5bP8A62AQMJX6+eM3UxcjBISIgJ7HzTCVIDbPAHkaJ c/f7WEBqhAUsJRbP3scEYrMIqEr0vetnB7F5BTwkVm94yw7SKyGgIDFnkg1ImBMo/P7BSrBW IQF3ibY/F9kmMPIuYGRYxSiaWpBcUJyUnmuoV5yYW1yal66XnJ+7iREcXM+kdjCubLA4xCjA wajEw9vguiJUiDWxrLgy9xCjBAezkghv5U6gEG9KYmVValF+fFFpTmrxIUZpDhYlcd6T+T6h QgLpiSWp2ampBalFMFkmDk6pBsbS6ndpjqd2Lzj6pfI0S9LaPzEPXDkLFbVfOMb+vf7t747S yfWl6ktdS/ZfnKF85oIJwwrvlkUxLCd+Tjl0cHnU9ZSPdU9mHXH93fn/ysq9udeUOF1+pC7L /9Obl/cqdl5hw0LhVUd4Le4ENu3f1+kxZ7mkKrtLU1nkNONfOcoqXo7/1pzw2qOuxFKckWio xVxUnAgAjR/p0yoCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 29 The driver neither sleeps nor uses delays in its brightness_set op. Mark it fast then. Signed-off-by: Jacek Anaszewski Cc: Paul Parsons --- drivers/leds/leds-asic3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c index 1b71eac..1cf542c 100644 --- a/drivers/leds/leds-asic3.c +++ b/drivers/leds/leds-asic3.c @@ -112,6 +112,7 @@ static int asic3_led_probe(struct platform_device *pdev) led->cdev->brightness_set = brightness_set; led->cdev->blink_set = blink_set; led->cdev->default_trigger = led->default_trigger; + led->cdev->flags |= LED_BRIGHTNESS_FAST; ret = led_classdev_register(&pdev->dev, led->cdev); if (ret < 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/