]> www.infradead.org Git - users/hch/configfs.git/commit
wifi: wilc1000: remove suspend/resume from cfg80211 part
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Thu, 13 Jun 2024 14:06:44 +0000 (16:06 +0200)
committerKalle Valo <kvalo@kernel.org>
Tue, 18 Jun 2024 10:23:16 +0000 (13:23 +0300)
commit1e9e258d9fb5c46dbf78f1baf06ac3836a44f2fa
treeed8532c5df77af40b326b05e8fd9715f704fb3df
parenta814112e9545b873bcd82b2aafb6e88a82e6949f
wifi: wilc1000: remove suspend/resume from cfg80211 part

WILC1000 suspend/resume implementation is currently composed of two parts:
suspend/resume ops implemented in cfg80211 ops, which merely sets a
flag, and suspend/resume ops in sdio/spi driver which, based on this flag,
execute or not the suspend/resume mechanism. This dual set of ops is not
really needed , so keep only the sdio part to implement suspend/resume.

While doing so, remove the now unused suspend_event flag.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240613-wilc_suspend-v1-5-c2f766d0988c@bootlin.com
drivers/net/wireless/microchip/wilc1000/cfg80211.c
drivers/net/wireless/microchip/wilc1000/netdev.h
drivers/net/wireless/microchip/wilc1000/sdio.c