Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2140500iof; Tue, 7 Jun 2022 21:06:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5e6nOI/vG0tr/PTBZEZl2DbOJyhq0P4qf90KGbSWVAgu8MwERIYZncdn4Je2w7XzEgLrL X-Received: by 2002:a05:6a00:2188:b0:50d:b093:12a2 with SMTP id h8-20020a056a00218800b0050db09312a2mr32526077pfi.84.1654661173813; Tue, 07 Jun 2022 21:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654661173; cv=none; d=google.com; s=arc-20160816; b=xUPe4Jm/HHrfXE1z8TFV4gQodGBU1aKkGj+CllmYMUCTg9yKNYxQS1IGMww1vu84aw vIZUdBvv/354D/LtN105lcb4Yr7EVq66vAzDXFbW4d1xGn/Vf/ALXesf+sOEpebpyX0G tnTSHkSkZNJPc5d9Dba/WfkoRxEfyiKEmEWIFVY0R9Gm3Ac/ce5GVRXICyjg7tjx8jLh cKFmWb3y7Kkiwf1m03jD5HBgFtWUmPGAP2cPPYAfXGkE68Vl0so9LzHgRvTG+1o8RRbo 02AD1gNRqRGNV0o52cpW1YUQy8b6CeP3lBbqn+9IQQ4fEorCxJ3j3Gungfk4JsFgrfEL PCNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=twQlAQjv0BuTLT75RJfJOyjBtWVXahEp6hBvf5xUXOY=; b=iZxHSTM2sy4HBcsggx0RbRmeL9vH61Xzb7eYFuqHjg0XlbZ7pJuNSSA+TIFCImYLZ8 E/2UuqXwDtBaSs2U/33Rf8SWDr7LYyEAdXpi4vXnDiglORV6NOKiRo0zmzY4u4UZMbBL fmxTtZt7CdIlAarleNnY6PGE0eW3X9UfyGeuvt7yTeNChwz1vax6ehZ0MPuhfW1tTviW FlMHrxBDjZxNnlUxwd0/mT7L8EGBqIJv9NOxPI6FwH7GvlRhiUKp+pptcH2ZRh0Y0Q8a kBkEczUXOm7otrWbpyNPSYcm7/ZYs4NfL8V8iUYvWI8kUDesc4SZn8wx4rb1DsdtkRRh nm8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yN0HuFAU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j63-20020a638b42000000b003fcc45747c6si24096744pge.322.2022.06.07.21.06.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:06:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yN0HuFAU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 49E4D1FE391; Tue, 7 Jun 2022 20:32:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348913AbiFGRuV (ORCPT + 99 others); Tue, 7 Jun 2022 13:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346892AbiFGR3b (ORCPT ); Tue, 7 Jun 2022 13:29:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 025FA118D3D; Tue, 7 Jun 2022 10:24:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 95107B8220C; Tue, 7 Jun 2022 17:24:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E302EC385A5; Tue, 7 Jun 2022 17:24:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654622692; bh=JsZE5AxHTbW00VZnJgu/U+JfgGO6KlUPjLQsTZoemWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yN0HuFAU7bLNeme7ug1M/fdHkso8SVACgFjdiA/A7TdtpeRDU9lnODsYYD5LotHm9 mxRgQnGMx6eA52aF/UNNZVaIcd4WS/wWy8wQgFbqWg/rK/Gfn6sioQ6TsGS0H0o6A3 OMngP71xgLaBWOVDjkDUOwLmhNTmNc2nUjK6GZys= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonathan Teh , Jiri Kosina , Sasha Levin Subject: [PATCH 5.10 149/452] HID: hid-led: fix maximum brightness for Dream Cheeky Date: Tue, 7 Jun 2022 19:00:06 +0200 Message-Id: <20220607164912.997486351@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Teh [ Upstream commit 116c3f4a78ebe478d5ad5a038baf931e93e7d748 ] Increase maximum brightness for Dream Cheeky to 63. Emperically determined based on testing in kernel 4.4 on this device: Bus 003 Device 002: ID 1d34:0004 Dream Cheeky Webmail Notifier Fixes: 6c7ad07e9e05 ("HID: migrate USB LED driver from usb misc to hid") Signed-off-by: Jonathan Teh Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/hid-led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-led.c b/drivers/hid/hid-led.c index c2c66ceca132..7d82f8d426bb 100644 --- a/drivers/hid/hid-led.c +++ b/drivers/hid/hid-led.c @@ -366,7 +366,7 @@ static const struct hidled_config hidled_configs[] = { .type = DREAM_CHEEKY, .name = "Dream Cheeky Webmail Notifier", .short_name = "dream_cheeky", - .max_brightness = 31, + .max_brightness = 63, .num_leds = 1, .report_size = 9, .report_type = RAW_REQUEST, -- 2.35.1