Re: [PATCH] HID: google: Enable PM Full On mode when adjusting backlight
From: Jiri Kosina
Date: Wed Mar 28 2018 - 10:13:48 EST
On Wed, 28 Mar 2018, Nicolas Boichat wrote:
> From: Haridhar Kalvala <haridhar.kalvala@xxxxxxxxx>
>
> hammer LED backlight brightness is not getting set when USB
> device is in suspend state.
>
> This patch fixes the issue by requesting USB HID device to be
> in FULLON mode, so that sending hardware output report and
> hardware raw request won't fail to set brightness, and set
> device back to NORMAL mode once this call returns.
>
> Signed-off-by: Haridhar Kalvala <haridhar.kalvala@xxxxxxxxx>
> Reviewed-by: Dmitry Torokhov <dtor@xxxxxxxxxxxx>
> Signed-off-by: Nicolas Boichat <drinkcat@xxxxxxxxxxxx>
Applied to for-4.17/google-hammer. Thanks,
--
Jiri Kosina
SUSE Labs