brcmfmac: make sdio suspend wait for threads to freeze
authorArend van Spriel <arend@broadcom.com>
Fri, 6 Feb 2015 17:36:45 +0000 (18:36 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Feb 2015 13:14:19 +0000 (15:14 +0200)
commit9982464379e81ece51ced03ebecbbcd34ea367a6
treee9b04bac5108dc61da220dbabdcfae0cd8dd729a
parentc7cd5d27d848d6afb38abad1c345cd42ebfd61e4
brcmfmac: make sdio suspend wait for threads to freeze

Borrowed the idea of the PM freezer to make sdio suspend wait for
watchdog and DPC thread to freeze at a safe point in their thread
routine. The suspend takes 20-25 msec.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/brcm80211/brcmfmac/sdio.h
This page took 0.02762 seconds and 5 git commands to generate.