On Thu, Sep 01, 2016 at 10:38:40PM +0200, Martin Kaiser wrote: > Modify spi_imx_clkdiv_2() to return the resulting bus clock frequency > when the selected clock divider is applied. Set spi_imx->spi_bus_clk to > this frequency. > > If spi_bus_clk is unset, spi_imx_calculate_timeout() causes a > division by 0. > > [ 90.356106] Division by zero in kernel. > [ 90.362631] CPU: 0 PID: 130 Comm: spidev_test Not tainted 4.8.0-rc3-next-20160825+ #105 > [ 90.372461] Hardware name: Freescale i.MX25 (Device Tree Support) > [ 90.378708] Backtrace: Please think hard before including backtraces in upstream reports, they are large and contain almost no useful information relative to their size so often obscure the relevant content in your message. If part of the backtrace is usefully illustrative then it's usually better to pull out the relevant sections.
Attachment:
signature.asc
Description: PGP signature