# Re: \[PATCH 05/10\] input: iqs5xx: Re-initialize device upon warm reset

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2021-01-25 04:33:23 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/01/8932470
- Thread: https://ratatoskr.run/linux-input/2021/01/8932445/t.md

```text
On Mon, Jan 18, 2021 at 02:43:41PM -0600, Jeff LaBundy wrote:
> The device may be inadvertently reset during runtime in the event
> of ESD strike, etc. To protect against this case, acknowledge the
> SHOW_RESET interrupt and re-initialize the device.
> 
> To facilitate this change, expand the range of registers that are
> read in the interrupt handler to include the system status fields.
> 
> Also, update the unrelated (but nearby) SUSPEND register field to
> use the BIT() macro. The remaining register fields are cleaned up
> in another patch.

Added linux/bits.h include and applied, thank you.

-- 
Dmitry
```
