[PATCH 5.15 535/731] pwm: tegra: Improve required rate calculation