WiFi modules often require 32kHz clock to function. Add support to
enable the clock to PCIe driver and move "brcm,bcm4329-fmac" check
to the top of brcmf_of_probe. Change function prototypes from void
to int and add appropriate errno's for return values.
Co-developed-by: Ondrej Jirman <megi@xxxxxx>
Signed-off-by: Ondrej Jirman <megi@xxxxxx>
Signed-off-by: Jacobe Zang <jacobe.zang@xxxxxxxxxx>
Change-Id: I21bf9e21b275452369dce1f50c2f092eded6376c
---
.../wireless/broadcom/brcm80211/brcmfmac/of.c | 49 +++++++++++--------
.../wireless/broadcom/brcm80211/brcmfmac/of.h | 4 +-
2 files changed, 31 insertions(+), 22 deletions(-)