Skip to content

sdio: Prevent re-tuning conflicting with custom sleep

Adrian Hunter linux-mmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: core: Add functions for SDIO to hold re-tuningdrivers/mmc/core/host.c drivers/mmc/core/host.h drivers/mmc/core/sdio_io.c +1 more+23 -00 replies
2/2brcmfmac: Prevent re-tuning conflicting with 'wake-up'drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/2] sdio: Prevent re-tuning conflicting with custom sleep

Hi

Here are 2 patches that allow brcmfmac to awake from a custom sleep state that conflicts with re-tuning.

The first patch adds sdio_retune_hold_now() and sdio_retune_release(). They are used in the 2nd patch to prevent re-tuning for the 'wake-up' command.

These patches were last posted here:

	https://marc.info/?l=linux-mmc&m=143023247221784

Changes in V2:

brcmfmac: Prevent re-tuning conflicting with 'wake-up'
Apply to file moved from:
drivers/net/wireless/brcm80211/brcmfmac/sdio.c
to:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c

Adrian Hunter (2):
mmc: core: Add functions for SDIO to hold re-tuning
brcmfmac: Prevent re-tuning conflicting with 'wake-up'

 drivers/mmc/core/host.c                                 |  6 ++++++
 drivers/mmc/core/host.h                                 |  1 +
 drivers/mmc/core/sdio_io.c                              | 13 +++++++++++++
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c |  6 ++++++
 include/linux/mmc/sdio_func.h                           |  3 +++
 5 files changed, 29 insertions(+)

Regards
Adrian