Thread (19 messages) 19 messages, 2 authors, 2021-03-22

Re: [PATCH v2 5/9] Input: iqs5xx - close bootloader using hardware reset

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-03-22 04:05:15
Also in: linux-input

On Sat, Mar 13, 2021 at 01:12:32PM -0600, Jeff LaBundy wrote:
The bootloader can be closed using the 'execute' command (0x02) or
hardware reset. Rather than using the former option for successful
firmware update procedures and reserving the latter for recovering
the device upon failure, simply use hardware reset for all cases.

The post-bootloader initialization delay increases marginally when
triggered by a hardware reset, so increase the wait time to ensure
the device does not subsequently fail to respond.

As part of this change, refactor the return path to avoid an extra
assignment and to make the logic a bit smaller.

Signed-off-by: Jeff LaBundy <redacted>
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