Re: [PATCH 7/8] spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:45:28AM -0700, H Hartley Sweeten wrote: > The divider values stored in the per chip data are only used to set the > registers in the hardware to generate the desired SPI clock. Since these > are calculated per transfer based on the t->speed_hz there is no reason > keep

Re: [PATCH 7/8] spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()

2013-06-30 Thread Mika Westerberg
On Fri, Jun 28, 2013 at 11:45:28AM -0700, H Hartley Sweeten wrote: The divider values stored in the per chip data are only used to set the registers in the hardware to generate the desired SPI clock. Since these are calculated per transfer based on the t-speed_hz there is no reason keep them

[PATCH 7/8] spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()

2013-06-28 Thread H Hartley Sweeten
The divider values stored in the per chip data are only used to set the registers in the hardware to generate the desired SPI clock. Since these are calculated per transfer based on the t->speed_hz there is no reason keep them in the per chip data. Move the ep93xx_spi_calc_divisors() call into

[PATCH 7/8] spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()

2013-06-28 Thread H Hartley Sweeten
The divider values stored in the per chip data are only used to set the registers in the hardware to generate the desired SPI clock. Since these are calculated per transfer based on the t-speed_hz there is no reason keep them in the per chip data. Move the ep93xx_spi_calc_divisors() call into