diff options
author | Jeff LaBundy <jeff@labundy.com> | 2021-01-25 07:17:08 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-01-25 07:49:04 +0300 |
commit | 1302c71a30615226838f3583028d122f6792d720 (patch) | |
tree | 6edfccf682b0c9261a88b8c7ce0b6d74fc3a9713 /crypto/asymmetric_keys | |
parent | 2539da6677b6355e124b99d1dbe15eb1066f1d46 (diff) | |
download | linux-1302c71a30615226838f3583028d122f6792d720.tar.xz |
Input: iqs5xx - accommodate bootloader latency
The bootloader NAK's all I2C communication after the first 64-byte
bulk write if the bus frequency is equal to 400 kHz. This prevents
the platform from pushing updated firmware to the device.
The vendor's USB bootloader programming dongle appears to insert a
delay between the "open" command and the first 64-byte bulk write.
Adding a similar delay to the driver seems to eliminate the issue.
Furthermore, the dongle does not access the bootloader immediately
after powering up the device. Follow suit by adding a delay before
the "open" command to avoid wasted retries at 400 kHz.
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/1611002626-5889-4-git-send-email-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions