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

2021-01-03 Thread Xu Yilun
On Sat, Jan 02, 2021 at 11:11:14AM -0300, Fabio Estevam wrote:
> On Sat, Jan 2, 2021 at 12:07 AM Xu Yilun  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


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

2021-01-02 Thread Fabio Estevam
On Sat, Jan 2, 2021 at 12:07 AM Xu Yilun  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.