spi: dw: Initialize paddr in DW SPI MMIO private data
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Fri, 15 May 2020 10:47:50 +0000 (13:47 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 15 May 2020 17:29:16 +0000 (18:29 +0100)
commit77810d484f4f28107391787dfa1c6c53d994c4fc
tree8d466a2a6021d7b664ee3adb1bf14b7a7e03fb40
parent9aea644ca17b94f82ad7fa767cbc4509642f4420
spi: dw: Initialize paddr in DW SPI MMIO private data

This field is used only for the DW SPI DMA code initialization, that's
why there were no problems with it being uninitialized in Dw SPI MMIO
driver. Since in a further patch we are going to introduce the DW SPI DMA
support in the MMIO version of the driver, lets set the field with the
physical address of the DW SPI controller registers region.

Co-developed-by: Georgy Vlasov <Georgy.Vlasov@baikalelectronics.ru>
Co-developed-by: Ramil Zaripov <Ramil.Zaripov@baikalelectronics.ru>
Signed-off-by: Georgy Vlasov <Georgy.Vlasov@baikalelectronics.ru>
Signed-off-by: Ramil Zaripov <Ramil.Zaripov@baikalelectronics.ru>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200515104758.6934-12-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c