Re: [PATCH v2] spi: fix the divide by 0 error when calculating xfer waiting time

From: Xu Yilun
Date: Sun Jan 03 2021 - 20:03:33 EST


On Sat, Jan 02, 2021 at 11:11:14AM -0300, Fabio Estevam wrote:
> On Sat, Jan 2, 2021 at 12:07 AM Xu Yilun <yilun.xu@xxxxxxxxx> wrote:
> >
> > The xfer waiting time is the result of xfer->len / xfer->speed_hz. This
> > patch makes the assumption of 1khz xfer speed if the xfer->speed_hz is
>
> You missed to update the commit log to 100kHz.

Thanks for the catching, I'll fix it.

Yilun