Skip to content

sdio: Use bus type function for shutdown

Uwe Kleine-König linux-mmc linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 11 repliesIn review
  2. v14 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Drop patch 2/4 which resulted in a build failure with CONFIG_PM=n

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sdio: Provide a bustype shutdown functiondrivers/mmc/core/sdio_bus.c include/linux/mmc/sdio_func.h+26 -08 replies
2/3wifi: rsi: sdio: Migrate to use sdio specific shutdown functiondrivers/net/wireless/rsi/rsi_91x_sdio.c+2 -30 replies
3/3wifi: rtw88: sdio: Migrate to use sdio specific shutdown functiondrivers/net/wireless/realtek/rtw88/rtw8723cs.c drivers/net/wireless/realtek/rtw88/rtw8723ds.c drivers/net/wireless/realtek/rtw88/rtw8821cs.c +4 more+7 -81 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPing-Ke ShihUlf Hansson
1/3R-b
2/3
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] sdio: Use bus type function for shutdown

Hello,

this series is part of an effort to get rid of the .shutdown() callback (and .probe() and .remove()) in struct device_driver. Preparing that, all sdio drivers that up to now use this callback are converted to a new sdio specific shutdown callback.

v1 is available at https://lore.kernel.org/all/[email protected].

Changes since v1:
- Drop patch 2/4 which resulted in a build failure with CONFIG_PM=n

Patches #2 and #3 depend on the first patch, and with just the first patch applied there is a runtime warning (emitted by the driver core in driver_register()) for each unconverted driver. So it would be nice to get the whole series in during a single merge window to not let users face the warning.

Given that all drivers are in drivers/net/wireless I suggest to apply the whole series via the wireless tree.

Best regards
Uwe

Uwe Kleine-König (3):
sdio: Provide a bustype shutdown function
wifi: rsi: sdio: Migrate to use sdio specific shutdown function
wifi: rtw88: sdio: Migrate to use sdio specific shutdown function

 drivers/mmc/core/sdio_bus.c                   | 25 +++++++++++++++++++
 .../net/wireless/realtek/rtw88/rtw8723cs.c    |  2 +-
 .../net/wireless/realtek/rtw88/rtw8723ds.c    |  2 +-
 .../net/wireless/realtek/rtw88/rtw8821cs.c    |  2 +-
 .../net/wireless/realtek/rtw88/rtw8822bs.c    |  2 +-
 .../net/wireless/realtek/rtw88/rtw8822cs.c    |  2 +-
 drivers/net/wireless/realtek/rtw88/sdio.c     |  3 +--
 drivers/net/wireless/realtek/rtw88/sdio.h     |  2 +-
 drivers/net/wireless/rsi/rsi_91x_sdio.c       |  5 ++--
 include/linux/mmc/sdio_func.h                 |  1 +
 10 files changed, 35 insertions(+), 11 deletions(-)

base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8

Signature · 1 line
2.47.3