]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Unify remaing prints in pxa2xx_spi_transfer_one()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 29 Mar 2019 13:00:46 +0000 (15:00 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2019 06:00:33 +0000 (13:00 +0700)
commit183c555c402bb13b60e83bb6af7a888c7f8cda14
tree9643b15f35b112b19ea54d1d9a910750a8038b73
parent4377338c05722b620d20942980514a6d8f21b649
spi: pxa2xx: Unify remaing prints in pxa2xx_spi_transfer_one()

Use SPI device pointer in the remaining two error and warning prints in
pxa2xx_spi_transfer_one() instead of platform device of the controller

It make prints in the function uniform and more useful especially the
error print here as it can reveal the driver that has mapped the DMA
itself and attempts to transfer more than the maximum supported DMA
transfer length.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c