summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Teh <jonathan.teh@outlook.com>2022-03-13 20:48:18 +0100
committerJiri Kosina <jkosina@suse.cz>2022-04-21 10:28:49 +0200
commit116c3f4a78ebe478d5ad5a038baf931e93e7d748 (patch)
treeedd9f0685b0f994bf9c983c8ec780a7710c9dbf4
parentHID: multitouch: Add support for Google Whiskers Touchpad (diff)
downloadlinux-116c3f4a78ebe478d5ad5a038baf931e93e7d748.tar.xz
linux-116c3f4a78ebe478d5ad5a038baf931e93e7d748.zip
HID: hid-led: fix maximum brightness for Dream Cheeky
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> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-led.c2
1 files changed, 1 insertions, 1 deletions
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,