diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2019-06-18 17:03:58 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-06-25 20:49:18 +0300 |
commit | 6fde3894e26ec53989b12162f11616029825a8c8 (patch) | |
tree | 945d60aaf7c0f3eab4640c92ff49b2f3f86ced43 /drivers/spi/spi-pic32-sqi.c | |
parent | 0ef6b01d024c24fad307b277cfa4a2be7d25dc29 (diff) | |
download | linux-6fde3894e26ec53989b12162f11616029825a8c8.tar.xz |
clocksource/drivers/tegra: Set up maximum-ticks limit properly
Tegra's timer has 29 bits for the counter and for the "load" register
which sets counter to a load-value. The counter's value is lower than
the actual value by 1 because it starts to decrement after one tick,
hence the maximum number of ticks that hardware can handle equals to
29 bits + 1.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/spi/spi-pic32-sqi.c')
0 files changed, 0 insertions, 0 deletions