Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp440166iog; Mon, 13 Jun 2022 06:03:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0xpnNjWc7C4vW7A3XFI/r6TPzmW7oVYA3iHEcVU60tqq6OH+JVZEL/gqALOsYIW8NxHwr X-Received: by 2002:aa7:ce18:0:b0:431:9332:fe69 with SMTP id d24-20020aa7ce18000000b004319332fe69mr34248989edv.220.1655125439258; Mon, 13 Jun 2022 06:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125439; cv=none; d=google.com; s=arc-20160816; b=Vz+Csw1XcX7nwN1WmQBcltbk+QgvHerGoLzCEZrKV64F80BuONtAfVygBYOlE/9cy1 NZBxsFYFDNlwtjwLPsVvJaz1tpklge8C0RTsgheSoZ/Tvjrh/bviu9wDXUwJ4BJ4EQ+/ uNj20Jwj2TX0Siho0mUpiZBgmj2FWqSSERALRJYSgcD5r4KYjxgo8ZyJ7m2w1LhGHmgw HphmcP6as/QRRarl8B5kuwAEgMWQP8V030j1kutoUUL1l8vumM6smHtZBS6c20lBSdj/ Tz4dEp32d8LiZ1B403Y43qjZquZksPVuPbfVWwhVvTiZYmT6DwDSibPULNTUROxQ4lPs /H9Q== 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=WP5aJCc0WdRfzvY5/zOW0G29AyHg0LAqmMW3qBcJujg=; b=A1nySKOeMHNocdJpq9wAtm51Ld8EISAAjr4VVZRf6dCPBuPgHq18wpMStdtl4dOsUY dr/+fo847WOCVblQwZFK/IBN4w/B/m42P9U20jV3sNOqF+41YOY2qGSjOSCojn2t12fN CF3P8cTq51B8TQorGFBmnlSzpTk9R1LIDgqcTXOa/G1AGDecS5rs4QUP117c139r01q5 TPCg5Bo7q4v+UD1iqHVdEsRxIQy2b0ixiucBY8eMeVA3Lych/njpndZuByQoIpg4BVQZ sCJbkKQj/fjEnufxR6PqbaCRBCCFEjIrUNNsvG40vquK1MSmWaZTHkbXinLT1JXHESdK jfJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G5vhYobM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds1-20020a0564021cc100b0042be24f2db2si7244127edb.215.2022.06.13.06.03.32; Mon, 13 Jun 2022 06:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G5vhYobM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242563AbiFMKUM (ORCPT + 99 others); Mon, 13 Jun 2022 06:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242139AbiFMKRy (ORCPT ); Mon, 13 Jun 2022 06:17:54 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDC37DEB2; Mon, 13 Jun 2022 03:15:51 -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 sin.source.kernel.org (Postfix) with ESMTPS id AF091CE1106; Mon, 13 Jun 2022 10:15:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C672C34114; Mon, 13 Jun 2022 10:15:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115344; bh=ijCvAG5D6KxVV9sw1XIyTUNpxJ2pxD5vlmvuuYWonXA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G5vhYobMVQ91+StLHbTulK04VjjTBP1MVKByl/ylL5jeV01+RBGT4wtX7eXOleaQj MuC4PrNkaa21CMNRFAwvwr/9Se0vddAYKMVzsC6bhM2tIpTT6MusiGwu7mVdiizPUW wBeFfi3E7yU4seXdABcCAqEkt9KxmEQ3zk16GN40= 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 4.9 042/167] HID: hid-led: fix maximum brightness for Dream Cheeky Date: Mon, 13 Jun 2022 12:08:36 +0200 Message-Id: <20220613094850.790751050@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094840.720778945@linuxfoundation.org> References: <20220613094840.720778945@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=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 d3e1ab162f7c..7fc5982a0ca4 100644 --- a/drivers/hid/hid-led.c +++ b/drivers/hid/hid-led.c @@ -369,7 +369,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