diff options
author | Jeff LaBundy <jeff@labundy.com> | 2021-01-18 04:57:08 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-02-08 14:54:38 +0100 |
commit | 6a8fac01dc1c6508dd7cab876170024070b71039 (patch) | |
tree | 6b468f2dad8824cc9b059613f087afc79ece8487 /drivers/md/bcache/features.c | |
parent | mfd: iqs62x: Do not poll during ATI (diff) | |
download | linux-6a8fac01dc1c6508dd7cab876170024070b71039.tar.xz linux-6a8fac01dc1c6508dd7cab876170024070b71039.zip |
mfd: iqs62x: Do not change clock frequency during ATI
After a reset event, the device automatically triggers ATI at the
default core clock frequency (16 MHz). Soon afterward, the driver
loads firmware which may attempt to lower the frequency.
If this initial ATI cycle is still in progress when the frequency
is changed, however, the device incorrectly reports channels 0, 1
and 2 to be in a state of touch once ATI finally completes.
To solve this problem, wait until ATI is complete before lowering
the frequency. Because this particular ATI cycle occurs following
a reset event, its duration is predictable and a simple delay can
suffice.
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/md/bcache/features.c')
0 files changed, 0 insertions, 0 deletions