diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2019-03-29 14:00:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-02 08:00:33 +0200 |
commit | 748fbadf951a8b32713351e10ef989181a4b47a6 (patch) | |
tree | 9643b15f35b112b19ea54d1d9a910750a8038b73 /drivers/spi/spi-fsl-spi.c | |
parent | spi: pxa2xx: Use struct spi_device directly in pxa2xx_spi_transfer_one() (diff) | |
download | linux-748fbadf951a8b32713351e10ef989181a4b47a6.tar.xz linux-748fbadf951a8b32713351e10ef989181a4b47a6.zip |
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>
Diffstat (limited to 'drivers/spi/spi-fsl-spi.c')
0 files changed, 0 insertions, 0 deletions