linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: hid-led: fix maximum brightness for Dream Cheeky
@ 2022-03-13 19:48 Jonathan Teh
  2022-04-21  8:29 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Teh @ 2022-03-13 19:48 UTC (permalink / raw)
  To: linux-input
  Cc: Benjamin Tissoires, Jiri Kosina, Heiner Kallweit, Jonathan Teh

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 <jonathan.teh@outlook.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] HID: hid-led: fix maximum brightness for Dream Cheeky
  2022-03-13 19:48 [PATCH] HID: hid-led: fix maximum brightness for Dream Cheeky Jonathan Teh
@ 2022-04-21  8:29 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2022-04-21  8:29 UTC (permalink / raw)
  To: Jonathan Teh; +Cc: linux-input, Benjamin Tissoires, Heiner Kallweit

On Sun, 13 Mar 2022, Jonathan Teh wrote:

> 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 <jonathan.teh@outlook.com>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-21  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-13 19:48 [PATCH] HID: hid-led: fix maximum brightness for Dream Cheeky Jonathan Teh
2022-04-21  8:29 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).