提交 3d5de797 编写于 作者: J Jonathan Teh 提交者: Zheng Zengkai

HID: hid-led: fix maximum brightness for Dream Cheeky

stable inclusion
from stable-v5.10.121
commit 39d4bd3f5991f056c1e85b94a0596545a4dc1e97
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=39d4bd3f5991f056c1e85b94a0596545a4dc1e97

--------------------------------

[ Upstream commit 116c3f4a ]

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: 6c7ad07e ("HID: migrate USB LED driver from usb misc to hid")
Signed-off-by: NJonathan Teh <jonathan.teh@outlook.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 c3f15f1e
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册