From: Jonathan Teh Date: Sun, 13 Mar 2022 19:48:18 +0000 (+0000) Subject: HID: hid-led: fix maximum brightness for Dream Cheeky X-Git-Tag: v5.15.73~3688 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2573a45b51764d92b69470d6ae8a64d9a5349bba;p=platform%2Fkernel%2Flinux-rpi.git HID: hid-led: fix maximum brightness for Dream Cheeky [ 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 --- diff --git a/drivers/hid/hid-led.c b/drivers/hid/hid-led.c index c2c66ce..7d82f8d 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,