# Re: \[PATCH v2\] HID: intel\_ish-hid: HBM: Use connected standby state bit during suspend/resume

- From: Jiri Kosina \<jikos@kernel.org\>
- Date: 2021-03-19 13:36:38 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/03/6307940
- Thread: https://ratatoskr.run/linux-input/2021/03/6303801/t.md

```text
On Tue, 16 Mar 2021, Srinivas Pandruvada wrote:

> From: Ye Xiang <redacted>
> 
> 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 <redacted>
> [srinivas.pandruvada@linux.intel.com: changelog rewrite]
> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> ---
> 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

```
