Re: [PATCH v2] HID: intel_ish-hid: HBM: Use connected standby state bit during suspend/resume

From: Jiri Kosina
Date: Fri Mar 19 2021 - 09:36:34 EST


On Tue, 16 Mar 2021, Srinivas Pandruvada wrote:

> From: Ye Xiang <xiang.ye@xxxxxxxxx>
>
> The individual sensor drivers implemented in the ISH firmware needs
> capability to take special actions when there is a change in the system
> standby state. The ISH core firmware passes this notification to
> individual sensor drivers in response to the OS request via connected
> standby bit in the SYSTEM_STATE_STATUS command.
>
> This change sets CONNECTED_STANDBY_STATE_BIT bit to 1 during suspend
> callback and clears during resume callback.
>
> Signed-off-by: Ye Xiang <xiang.ye@xxxxxxxxx>
> [srinivas.pandruvada@xxxxxxxxxxxxxxx: changelog rewrite]
> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
> ---
> v2:
> changed changelog to be more clear
> Changed the name in the signed-off to match "From"
>
> drivers/hid/intel-ish-hid/ishtp/hbm.c | 6 +++---
> drivers/hid/intel-ish-hid/ishtp/hbm.h | 1 +
> 2 files changed, 4 insertions(+), 3 deletions(-)

Applied, thanks.

--
Jiri Kosina
SUSE Labs