summaryrefslogtreecommitdiffstats
path: root/samples/uhid
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-03-02 16:49:14 +0800
committerThierry Reding <thierry.reding@gmail.com>2018-03-28 00:32:25 +0200
commit04c0a4e00dc11fedc0b0a8593adcf0f4310505d4 (patch)
treebf566c148ad879acf186107da631130d6ae8980d /samples/uhid
parentf3617876364c0471b4779a0d05539f210693e45f (diff)
downloadtalos-obmc-linux-04c0a4e00dc11fedc0b0a8593adcf0f4310505d4.tar.gz
talos-obmc-linux-04c0a4e00dc11fedc0b0a8593adcf0f4310505d4.zip
pwm: mediatek: Improve precision in rate calculation
Add a way that turning resolution from in nanosecond into in picosecond to improve noticeably almost 4.5% precision. It's necessary to hold the new resolution with type u64 and thus related operations on u64 are applied instead in those rate calculations. And the patch has a dependency on [1]. [1] http://lists.infradead.org/pipermail/linux-mediatek/2018-March/012225.html Cc: stable@vger.kernel.org Fixes: caf065f8fd58 ("pwm: Add MediaTek PWM support") Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud