lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 221/667] HID: hid-led: fix maximum brightness for Dream Cheeky
    Date
    From: Jonathan Teh <jonathan.teh@outlook.com>

    [ 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 <jonathan.teh@outlook.com>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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


    \
     
     \ /
      Last update: 2022-06-07 20:48    [W:6.633 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site