Thread (3 messages) 3 messages, 3 authors, 2021-02-23

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

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-02-19 19:10:30

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help