Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp585290iog; Mon, 13 Jun 2022 08:36:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/hn7dUI5GZl6UVpHt8MbxvYU02jnyK91hyuOhqu5qaNubF3qFhXoNulAyiwvjWgGxfDpS X-Received: by 2002:a05:6402:3514:b0:431:7164:f1d9 with SMTP id b20-20020a056402351400b004317164f1d9mr318575edd.99.1655134607381; Mon, 13 Jun 2022 08:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655134607; cv=none; d=google.com; s=arc-20160816; b=cJIEQW/P/6trnmg8LN4M3zlWkCwI4we9DGQa59IOdwRaRBvvwAZSYd8tHk0IEEnXDv Uf4aASro5TZzAH4wN+aA0XIoD6pJfn2Q7jdGnCpsAYj6Q3StX3q5USj2ku2tKO/j09Xd jGgPx1jUi0QFfwfuUmT/nGURDGmlOXRdHofhqHdMRwWTl7YZ5MRUVkFULxn0MYrtXxMF aIZnKs95hVkAC6FUAc2R9upA2RIQicVcVRyNIzaAE1i2GaOzCKq3iYExJemnczo6/r29 /6ZwvPvGPA7R7lsNLIDxfyEbIS5xiAr1zGI9aON7OD2Bdw5ke6tIhqTGqtTCuTlkqwnr kU8Q== 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=g+z6qsRHEs5ZFWRyUqkNcdfbdKBVxtviq5d2RcPbahEZHDx9mQQzNUVOYb2n7FJqj9 oo72YfSmUa0sBh9xEm+PYpjnnzFpID714X18UFLy6MSeNOX53v1uZaArd26I8Cz8tbiS +lCaM7OJv+htyTMBKe9jTIcWHtIWYfYosBDgzfzAfd9pGo1Zg3nZbaoSZWLFyXLuzx1f N/fmR6TDmzuAEWi2EPdYN4kbBtq7VQDVYbrxZhrnhP5q4BuCM6cKCDh/qZeJG2xDdTQc nm+wJ24yuF5YxOXvg50dcYOIB4wqjXKxOVtcd0Mir7RRkBdKiQLMbHKJLxpTm8ZfquuW emHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DRAzjsfu; 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 e19-20020a17090658d300b00711caa783f0si8741826ejs.657.2022.06.13.08.36.22; Mon, 13 Jun 2022 08:36:47 -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=DRAzjsfu; 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 S1351768AbiFMLLk (ORCPT + 99 others); Mon, 13 Jun 2022 07:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351734AbiFMLIB (ORCPT ); Mon, 13 Jun 2022 07:08:01 -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 29A64338A8; Mon, 13 Jun 2022 03:35:13 -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 36A24B80EA7; Mon, 13 Jun 2022 10:35:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D74DC36AFF; Mon, 13 Jun 2022 10:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116506; bh=JsZE5AxHTbW00VZnJgu/U+JfgGO6KlUPjLQsTZoemWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DRAzjsfuakEGwXNF8g26bCy7cRS52tt4OO71l3bz9i8sCXtMyvOvBABX1pWcjCvgH /fvACpHzlu5nxZCIcbw4LDPVjlcQS1DXTsEGjHQ6y8UuBiDW0RXw8pbzhfzQAxU1z2 TBGszImSeY0OmYCOeW8LhTnj6jhECPhMlCrwGBzw= 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.4 098/411] HID: hid-led: fix maximum brightness for Dream Cheeky Date: Mon, 13 Jun 2022 12:06:11 +0200 Message-Id: <20220613094931.619142292@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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 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