diff options
author | Egor Starkov <egor.starkov@ge.com> | 2017-11-13 13:31:01 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-11-13 23:17:43 +0300 |
commit | 5bca462d2d18b1c9ec86c7985753134f06fa5cd2 (patch) | |
tree | 35ae15edbfd4f71ab649d4fa00edf89b22196152 /Documentation/devicetree/bindings | |
parent | 47e46613d84d2750eb70a7ff07a03ed8ffbec5af (diff) | |
download | linux-5bca462d2d18b1c9ec86c7985753134f06fa5cd2.tar.xz |
ahci: imx: Handle increased read failures for IMX53 temperature sensor in low frequency mode.
Extended testing has shown that the imx ahci driver sometimes requires
more than the 100 attempts currently alotted in the driver to perform a
successful temperature reading when running at minimum (throttled) CPU
frequency.
Debugging suggests that the read cycle can take 160 attempts (which given
that the driver averages 80 readings from the ADC equates to one failure
on each read).
Increase the attempt limit to 200 in order to greatly reduce the
likelihood of the driver failing to perform a temperature reading,
especially at low CPU frequency.
Signed-off-by: Egor Starkov <egor.starkov@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions