# Re: \[PATCH\] Input: st1232 - add IDLE state as ready condition

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2021-02-19 19:10:30 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/02/8932642
- Thread: https://ratatoskr.run/linux-input/2021/02/8932638/t.md

```text
On Fri, Feb 19, 2021 at 12:05:56PM +0100, Michael Tretter wrote:
> The st1232 can switch from NORMAL to IDLE state after the configured
> idle time (by default 8 s). If the st1232 is not reset during probe, it
> might already be ready but in IDLE state. Since it does not enter NORMAL
> state in this case, probe fails.
> 
> Fix the wait function to report the IDLE state as ready, too.
> 
> Fixes: f605be6a57b4 ("Input: st1232 - wait until device is ready before reading resolution")
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>

Applied, thank you.

-- 
Dmitry
```
