[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGb2v65udRk8A6-ZBT8MRo9SUmhc-9i7PeVBi0UTtNMTx_QbKw@mail.gmail.com>
Date: Wed, 11 Mar 2020 11:35:07 +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 <uwe@...ine-koenig.org>,
Subbaraman Narayanamurthy <subbaram@...eaurora.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Maxime Ripard <mripard@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>
Subject: Re: [PATCH v8 10/12] pwm: sun4i: Use 64-bit division function
On Wed, Mar 11, 2020 at 9:41 AM 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 div_u64 to handle a 64-bit
> dividend instead of a straight 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