Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2144275iof; Tue, 7 Jun 2022 21:13:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcUrTDGFSUwn8gwNH/Dvbl5kB6/v77zupopAjUVTqngQwrd33IAW2HdoqgEp40nPWz/2Ir X-Received: by 2002:a65:604a:0:b0:3f9:f423:b474 with SMTP id a10-20020a65604a000000b003f9f423b474mr27703567pgp.527.1654661619028; Tue, 07 Jun 2022 21:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654661619; cv=none; d=google.com; s=arc-20160816; b=Xas3Ce65Ly2O/oB/QjHjMRAIStZwRgAkuVJqjnx6xIV0H24bCPL+PFVAZZilybrp3a ih0efDmKYFvDf9cOXRxuTVD2isT1lOKPPNtxbwMSj1biK185Ix6BZUxL6PPmOWAWbGeK 568AbYuQ/oETsuLoJIZI7+gB1KZyCE0Gh8K6jPjCdc7wJC4hEX+Lj7tQb7X4s601KBsN LZHSifObc6WAluc5mk/qhCNGJqBDYEzx4V/EPZGkOsAsOmG0RlTVcqS0bNnQEUyHXy+X /dZxv1k0AizTjWWqcyeq27zGG+apwknVbfKuKi1TF/vfI/M3d16+Z0HDQBIOkf1PJJPC 9+gA== 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=qQpKGOFt5xRYsg4lEEZtaULDeIgnPMTgYBeGLaWVn7CCrCeXmIYJ7ADPG6tZ/tsjrW R/1UbRNIeb0AvG9RjpKtCHWdF2KowwDLyb3J1km4SQU+WDx7Swn14kD5jAUeukus0eq7 ePpTC2ySeFiMakQONaFUvrn26gGJdKnSlUkesMzile/4qBQBcjj1JMqYFReumY8jyFXq O1Zo8KUFZasopT3ok1m7kBelqVRJrI7BhdkO9rJoBdcI4enOqOeXsakH2fgFGiBoQwAJ HgxwJ9LVuNap7F/yBrj4sizOjHD8en19hDgUHgitxYlNLRrfm6rKirVW0PvOL6pa7EIw bq9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rkB0aUys; 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 16-20020a056a00073000b005193d5d2054si22987448pfm.188.2022.06.07.21.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:13:39 -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=rkB0aUys; 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 11DD842014B; Tue, 7 Jun 2022 20:52:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382688AbiFGWnx (ORCPT + 99 others); Tue, 7 Jun 2022 18:43:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380158AbiFGVaT (ORCPT ); Tue, 7 Jun 2022 17:30:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 921902298FF; Tue, 7 Jun 2022 12:02:45 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 082D8617E5; Tue, 7 Jun 2022 19:02:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18166C385A2; Tue, 7 Jun 2022 19:02:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628564; bh=JsZE5AxHTbW00VZnJgu/U+JfgGO6KlUPjLQsTZoemWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rkB0aUysGDe64hmyZ0BzNtBiS91InsQ0a4LzYC6JKvABdlOqjZoJYJJtC6L6OOshi E3Q5zB8fJckRoEe8b2crx4H2o4MYE4OxR+7w+xTaeGi2ON+6tVyanrKMUeOajunLwS /3GbzyE01wvfYB/4qgbTe384LkxA3Ams/q5GjQcg= 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.18 325/879] HID: hid-led: fix maximum brightness for Dream Cheeky Date: Tue, 7 Jun 2022 18:57:23 +0200 Message-Id: <20220607165012.286594594@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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