Files
linux/drivers/pwm
Sean Wang 04c0a4e00d 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: caf065f8fd ("pwm: Add MediaTek PWM support")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2018-03-28 00:32:25 +02:00
..
2017-07-06 08:29:16 +02:00
2017-04-06 17:45:03 +02:00
2017-11-15 10:38:37 +01:00
2017-01-19 00:38:17 +01:00
2018-03-27 23:22:31 +02:00
2017-08-21 08:11:24 +02:00