Re: [U-Boot] [PATCH v9 39/49] rockchip: spi: Remember the last speed to avoid re-setting it

2016-01-22 Thread Simon Glass
On 21 January 2016 at 19:44, Simon Glass wrote: > Rather than changing the clock to the same value on every transaction, > remember the last value and don't adjust the clock unless it is necessary. > > Signed-off-by: Simon Glass > --- > > Changes in v9: None

[U-Boot] [PATCH v9 39/49] rockchip: spi: Remember the last speed to avoid re-setting it

2016-01-21 Thread Simon Glass
Rather than changing the clock to the same value on every transaction, remember the last value and don't adjust the clock unless it is necessary. Signed-off-by: Simon Glass --- Changes in v9: None Changes in v2: None drivers/spi/rk_spi.c | 5 - 1 file changed, 4