summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-04-13 14:24:12 -0400
committerMark Brown <broonie@kernel.org>2019-05-01 21:37:50 -0400
commit4d1841d64535d60a1378d847cf4cd3f340ea28c2 (patch)
treecafbb4d20d0e5f0380330eae79e3cbb19fb13f6e /drivers/spi
parent76d2f7ee68b669c5825435bad204f3d9b4b55d18 (diff)
spi: Remove warning in spi_split_transfers_maxsize()
Don't warn about splitting transfers, the info is available in the statistics if needed. Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 86a31340ad03..3c6c6101b611 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -2788,11 +2788,6 @@ static int __spi_split_transfer_maxsize(struct spi_controller *ctlr,
2788 size_t offset; 2788 size_t offset;
2789 size_t count, i; 2789 size_t count, i;
2790 2790
2791 /* warn once about this fact that we are splitting a transfer */
2792 dev_warn_once(&msg->spi->dev,
2793 "spi_transfer of length %i exceed max length of %zu - needed to split transfers\n",
2794 xfer->len, maxsize);
2795
2796 /* calculate how many we have to replace */ 2791 /* calculate how many we have to replace */
2797 count = DIV_ROUND_UP(xfer->len, maxsize); 2792 count = DIV_ROUND_UP(xfer->len, maxsize);
2798 2793