mbox series

[v2,net-next,0/2] Adapt the sja1105 DSA driver to the SPI controller's transfer limits

Message ID 20210520200223.3375421-1-olteanv@gmail.com (mailing list archive)
Headers show
Series Adapt the sja1105 DSA driver to the SPI controller's transfer limits | expand

Message

Vladimir Oltean May 20, 2021, 8:02 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series changes the SPI transfer procedure in sja1105 to take into
consideration the buffer size limitations that the SPI controller driver
might have.

Changes in v2:
Remove the driver's use of cs_change and send multiple, smaller SPI
messages instead of a single large one.

Vladimir Oltean (2):
  net: dsa: sja1105: send multiple spi_messages instead of using
    cs_change
  net: dsa: sja1105: adapt to a SPI controller with a limited max
    transfer size

 drivers/net/dsa/sja1105/sja1105_spi.c | 80 ++++++++++++---------------
 1 file changed, 34 insertions(+), 46 deletions(-)