Re: [PATCH v9 14/27] pwm: jz4740: Improve algorithm of clock calculation

From: Stephen Boyd
Date: Thu Feb 28 2019 - 13:42:37 EST


Quoting Paul Cercueil (2019-02-22 17:17:58)
> Bump.
>
> What should I do here?
>

I thought I replied to the list but maybe it got rejected because my MUA
is currently failing hard at sending 8-bit mails without
using quoted printable. Let me remove all non-ascii characters from this
mail!

If someone has the mail please rebounce it to the list. Otherwise, I
think I basically said this is OK because clk_round_rate() semantics are
specifically vague here to allow the implementation to decide how rates
are rounded (up, down, closest, etc). As long as the whole rate space is
searched with a +1 or a -1 style of search it should be work. We're not
going to add round_up() or round_down() APIs as far as I'm concerned,
and you can look on the list to see previous proposals on that topic to
get some background on why they aren't liked.