]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: Initialize paddr in DW SPI MMIO private data
authorBaikal Electronics <support@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)
commita7c7887d616407c28ec05117c09b334dc0e9932e
tree8d466a2a6021d7b664ee3adb1bf14b7a7e03fb40
parent1f53baa19315e187e634c6fb2e9ccd8de5f3f53c
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