]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-s3c64xx: Report more information when errors occur
authorŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 2 Oct 2020 12:22:38 +0000 (14:22 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 2 Oct 2020 20:54:19 +0000 (21:54 +0100)
commiteeee7bcf86ca3d7d3241db110403a3d1f22d0d2c
tree5c39763709465520f0f3147fedff4d0097a3e38f
parentb31af2443777d77947f340c7e0b387ff950b69e4
spi: spi-s3c64xx: Report more information when errors occur

Report amount of pending data when a transfer stops due to errors.

Report if DMA was used to transfer data and print the status code.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20201002122243.26849-5-l.stelmach@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c