linux/drivers/net/wireless
Amit Kumar Mahapatra 25fd0550d9
net: Replace all spi->chip_select and spi->cs_gpiod references with function call
Supporting multi-cs in spi drivers would require the chip_select & cs_gpiod
members of struct spi_device to be an array. But changing the type of these
members to array would break the spi driver functionality. To make the
transition smoother introduced four new APIs to get/set the
spi->chip_select & spi->cs_gpiod and replaced all spi->chip_select and
spi->cs_gpiod references with get or set API calls.
While adding multi-cs support in further patches the chip_select & cs_gpiod
members of the spi_device structure would be converted to arrays & the
"idx" parameter of the APIs would be used as array index i.e.,
spi->chip_select[idx] & spi->cs_gpiod[idx] respectively.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230310173217.3429788-3-amit.kumar-mahapatra@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-11 12:34:02 +00:00
..
admtek wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
ath Including fixes from wireless and netfilter. 2023-02-27 14:05:08 -08:00
atmel wifi: atmel: Fix atmel_private_handler array size 2022-11-01 12:30:22 +02:00
broadcom wifi: brcmfmac: p2p: Introduce generic flexible array frame member 2023-02-16 09:33:25 +01:00
cisco wireless-next patches for v6.2 2022-11-18 11:44:36 +00:00
intel Networking changes for 6.3. 2023-02-21 18:24:12 -08:00
intersil net: add missing includes of linux/net.h 2023-01-27 11:19:45 +00:00
marvell net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
mediatek wifi: mt76: usb: fix use-after-free in mt76u_free_rx_queue 2023-02-26 19:52:55 +02:00
microchip Merge wireless into wireless-next 2023-01-17 13:36:25 +02:00
purelifi wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() 2022-11-28 15:56:17 +02:00
quantenna wifi: cfg80211: include puncturing bitmap in channel switch events 2023-02-14 12:14:39 +01:00
ralink wifi: rt2x00: Remove useless else if 2023-01-16 18:23:49 +02:00
realtek wifi: rtl8xxxu: add LEDS_CLASS dependency 2023-02-17 18:30:44 +02:00
rsi wifi: rsi: Avoid defines prefixed with CONFIG 2023-02-13 19:24:10 +02:00
silabs net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
st net: Replace all spi->chip_select and spi->cs_gpiod references with function call 2023-03-11 12:34:02 +00:00
ti wifi: wl1251: Fix a typo ("boradcast") 2023-02-13 17:14:41 +02:00
zydas wifi: zd1211rw: remove redundant decls 2023-02-13 19:25:47 +02:00
Kconfig
mac80211_hwsim.c wifi: mac80211_hwsim: Rename pid to portid to avoid confusion 2023-02-14 12:09:18 +01:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid 2023-01-16 13:27:54 +02:00
virt_wifi.c
wl3501_cs.c wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave() 2022-12-22 18:14:33 +02:00
wl3501.h