Skip to content

spi: switch to managed controller allocation (part 2/3)

Johan Hovold linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20spi: pic32: switch to managed controller allocationdrivers/spi/spi-pic32.c+3 -80 replies
2/20spi: pic32-sqi: switch to managed controller allocationdrivers/spi/spi-pic32-sqi.c+8 -200 replies
3/20spi: pl022: switch to managed controller allocationdrivers/spi/spi-pl022.c+3 -81 reply
4/20spi: qup: switch to managed controller allocationdrivers/spi/spi-qup.c+4 -110 replies
5/20spi: rspi: switch to managed controller allocationdrivers/spi/spi-rspi.c+5 -140 replies
6/20spi: sh-hspi: switch to managed controller allocationdrivers/spi/spi-sh-hspi.c+2 -90 replies
7/20spi: sh-msiof: switch to managed controller allocationdrivers/spi/spi-sh-msiof.c+9 -190 replies
8/20spi: sifive: switch to managed controller allocationdrivers/spi/spi-sifive.c+11 -280 replies
9/20spi: slave-mt27xx: switch to managed controller allocationdrivers/spi/spi-slave-mt27xx.c+10 -230 replies
10/20spi: sprd: switch to managed controller allocationdrivers/spi/spi-sprd.c+6 -140 replies
11/20spi: st-ssc4: switch to managed controller allocationdrivers/spi/spi-st-ssc4.c+4 -100 replies
12/20spi: sun4i: switch to managed controller allocationdrivers/spi/spi-sun4i.c+11 -240 replies
13/20spi: sun6i: switch to managed controller allocationdrivers/spi/spi-sun6i.c+12 -260 replies
14/20spi: syncuacer: switch to managed controller allocationdrivers/spi/spi-synquacer.c+7 -170 replies
15/20spi: tegra114: switch to managed controller allocationdrivers/spi/spi-tegra114.c+12 -220 replies
16/20spi: tegra20-sflash: switch to managed controller allocationdrivers/spi/spi-tegra20-sflash.c+8 -160 replies
17/20spi: ti-qspi: switch to managed controller allocationdrivers/spi/spi-ti-qspi.c+9 -210 replies
18/20spi: ti-qspi: cleanup registration error pathdrivers/spi/spi-ti-qspi.c+5 -20 replies
19/20spi: uniphier: switch to managed controller allocationdrivers/spi/spi-uniphier.c+11 -220 replies
20/20spi: zync-qspi: switch to managed controller allocationdrivers/spi/spi-zynq-qspi.c+12 -280 replies

Reviews trailers per patch

1 of 20 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
1/20
2/20
3/20R-b
4/20
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/20] spi: switch to managed controller allocation (part 2/3)

In preparation for fixing the SPI controller API so that it no longer drops a reference when deregistering (non-managed) controllers (cf. [1]), this series converts drivers using non-managed registration to use managed allocation.

Included is also a related cleanup of a ti-qspi error path.

This second set will be followed by a third set of 12 patches for drivers using managed registration.

That leaves us with 18 drivers using non-managed allocation, which is few enough to be able to fix the API in tree-wide change.

Johan

[1] https://lore.kernel.org/lkml/[email protected]/

Johan Hovold (20):
spi: pic32: switch to managed controller allocation
spi: pic32-sqi: switch to managed controller allocation
spi: pl022: switch to managed controller allocation
spi: qup: switch to managed controller allocation
spi: rspi: switch to managed controller allocation
spi: sh-hspi: switch to managed controller allocation
spi: sh-msiof: switch to managed controller allocation
spi: sifive: switch to managed controller allocation
spi: slave-mt27xx: switch to managed controller allocation
spi: sprd: switch to managed controller allocation
spi: st-ssc4: switch to managed controller allocation
spi: sun4i: switch to managed controller allocation
spi: sun6i: switch to managed controller allocation
spi: syncuacer: switch to managed controller allocation
spi: tegra114: switch to managed controller allocation
spi: tegra20-sflash: switch to managed controller allocation
spi: ti-qspi: switch to managed controller allocation
spi: ti-qspi: cleanup registration error path
spi: uniphier: switch to managed controller allocation
spi: zync-qspi: switch to managed controller allocation

 drivers/spi/spi-pic32-sqi.c      | 28 +++++++---------------
 drivers/spi/spi-pic32.c          | 11 +++------
 drivers/spi/spi-pl022.c          | 11 +++------
 drivers/spi/spi-qup.c            | 15 ++++--------
 drivers/spi/spi-rspi.c           | 19 ++++-----------
 drivers/spi/spi-sh-hspi.c        | 11 ++-------
 drivers/spi/spi-sh-msiof.c       | 28 +++++++---------------
 drivers/spi/spi-sifive.c         | 39 +++++++++----------------------
 drivers/spi/spi-slave-mt27xx.c   | 33 ++++++++------------------
 drivers/spi/spi-sprd.c           | 20 +++++-----------
 drivers/spi/spi-st-ssc4.c        | 14 ++++-------
 drivers/spi/spi-sun4i.c          | 35 +++++++++-------------------
 drivers/spi/spi-sun6i.c          | 38 ++++++++++--------------------
 drivers/spi/spi-synquacer.c      | 24 ++++++-------------
 drivers/spi/spi-tegra114.c       | 34 ++++++++++-----------------
 drivers/spi/spi-tegra20-sflash.c | 24 +++++++------------
 drivers/spi/spi-ti-qspi.c        | 37 +++++++++++------------------
 drivers/spi/spi-uniphier.c       | 33 +++++++++-----------------
 drivers/spi/spi-zynq-qspi.c      | 40 ++++++++++----------------------
 19 files changed, 152 insertions(+), 342 deletions(-)
Signature · 1 line
2.53.0