[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v67r_esaqANauo7YOVjSVVt5z+jyuneZe0FLrjgDxnDjzA@mail.gmail.com>
Date: Sat, 11 Apr 2020 13:49:02 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Guru Das Srinagesh <gurus@...eaurora.org>
Cc: linux-pwm@...r.kernel.org,
Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Subbaraman Narayanamurthy <subbaram@...eaurora.org>,
David Collins <collinsd@...eaurora.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Maxime Ripard <mripard@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>
Subject: Re: [PATCH v12 08/11] pwm: sun4i: Use nsecs_to_jiffies to avoid a division
On Thu, Apr 9, 2020 at 2:53 PM Guru Das Srinagesh <gurus@...eaurora.org> wrote:
>
> Since the PWM framework is switching struct pwm_state.period's datatype
> to u64, prepare for this transition by using nsecs_to_jiffies() which
> does away with the need for a division operation.
>
> Cc: Maxime Ripard <mripard@...nel.org>
> Cc: Chen-Yu Tsai <wens@...e.org>
> Cc: Philipp Zabel <p.zabel@...gutronix.de>
>
> Signed-off-by: Guru Das Srinagesh <gurus@...eaurora.org>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists