Re: [PATCH 4/7] spi: spi-fsl-dspi: avoid preparing the clock two times

2015-01-27 Thread Mark Brown
On Tue, Jan 27, 2015 at 04:27:21PM +0530, Bhuvanchandra DV wrote: > regmap_read/regmap_write will expect the peripheral clock > to be enabled before accessing the registers of the peripheral. > Since the peripheral clock is enabled separatly, avoid redundant clock > prepare (with

[PATCH 4/7] spi: spi-fsl-dspi: avoid preparing the clock two times

2015-01-27 Thread Bhuvanchandra DV
regmap_read/regmap_write will expect the peripheral clock to be enabled before accessing the registers of the peripheral. Since the peripheral clock is enabled separatly, avoid redundant clock prepare (with devm_regmap_init_mmio_clk) and use devm_regmap_init_mmio instead. Acked-by: Stefan Agner

[PATCH 4/7] spi: spi-fsl-dspi: avoid preparing the clock two times

2015-01-27 Thread Bhuvanchandra DV
regmap_read/regmap_write will expect the peripheral clock to be enabled before accessing the registers of the peripheral. Since the peripheral clock is enabled separatly, avoid redundant clock prepare (with devm_regmap_init_mmio_clk) and use devm_regmap_init_mmio instead. Acked-by: Stefan Agner

Re: [PATCH 4/7] spi: spi-fsl-dspi: avoid preparing the clock two times

2015-01-27 Thread Mark Brown
On Tue, Jan 27, 2015 at 04:27:21PM +0530, Bhuvanchandra DV wrote: regmap_read/regmap_write will expect the peripheral clock to be enabled before accessing the registers of the peripheral. Since the peripheral clock is enabled separatly, avoid redundant clock prepare (with