Re: [PATCH 2/2] mmc: sdhci-of-aspeed: Fix clock divider calculation

From: Andrew Jeffery
Date: Fri Jul 10 2020 - 05:00:36 EST




On Fri, 10 Jul 2020, at 17:09, Ulf Hansson wrote:
> On Thu, 9 Jul 2020 at 21:57, Eddie James <eajames@xxxxxxxxxxxxx> wrote:
> >
> > When calculating the clock divider, start dividing at 2 instead of 1.
> > The divider is divided by two at the end of the calculation, so starting
> > at 1 may result in a divider of 0, which shouldn't happen.
> >
> > Signed-off-by: Eddie James <eajames@xxxxxxxxxxxxx>
>
> Looks like I can pick this for fixes, as a standalone fix without patch1? No?

Yes, please do.

Thanks,

Andrew