From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46EECC433DB for ; Tue, 23 Feb 2021 09:06:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0655964E57 for ; Tue, 23 Feb 2021 09:06:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231403AbhBWJGT (ORCPT ); Tue, 23 Feb 2021 04:06:19 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:52012 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbhBWJEo (ORCPT ); Tue, 23 Feb 2021 04:04:44 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 166441C0B85; Tue, 23 Feb 2021 10:03:58 +0100 (CET) Date: Tue, 23 Feb 2021 10:03:56 +0100 From: Pavel Machek To: Hans de Goede Cc: Jiri Kosina , Benjamin Tissoires , Marek =?iso-8859-1?Q?Beh=FAn?= , linux-input@vger.kernel.org, linux-leds@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH v3 5/7] HID: lenovo: Set LEDs max_brightness value Message-ID: <20210223090356.GE9750@amd> References: <20210221112005.102116-1-hdegoede@redhat.com> <20210221112005.102116-6-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fWddYNRDgTk9wQGZ" Content-Disposition: inline In-Reply-To: <20210221112005.102116-6-hdegoede@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org --fWddYNRDgTk9wQGZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2021-02-21 12:20:03, Hans de Goede wrote: > The LEDs can only by turned on/off, so max_brightness should be set to 1. > Without this the max_brightness sysfs-attribute will report 255 which is > wrong. >=20 > Signed-off-by: Hans de Goede Acked-by: Pavel Machek --=20 http://www.livejournal.com/~pavelmachek --fWddYNRDgTk9wQGZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmA0xPwACgkQMOfwapXb+vIxAACfcF/s3KwvdZ56OjVFvgOKfyaq z9kAnA2/Ex7AO7WwInsgtlZEjZlGyxU4 =NTxy -----END PGP SIGNATURE----- --fWddYNRDgTk9wQGZ--