diff options
author | Jeff LaBundy <jeff@labundy.com> | 2021-03-21 21:04:17 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-03-25 11:14:09 -0700 |
commit | 95a6d961401d7e7e4cdd15c5c454b335d71dd0b5 (patch) | |
tree | b39e470e6615db201ba6f45bde0fab8ffb7806b9 /include/target | |
parent | e7d8e88aec888d4053f4b2be573ab63a39313f83 (diff) |
Input: iqs5xx - close bootloader using hardware reset
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 <jeff@labundy.com>
Link: https://lore.kernel.org/r/20210313191236.4366-6-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions