brcmfmac: pcie: Read the console on init and shutdown
authorHector Martin <marcan@marcan.st>
Tue, 21 Dec 2021 08:43:03 +0000 (17:43 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 18 Jan 2022 11:22:06 +0000 (20:22 +0900)
commitdf0a2c46417ccd3f140bb335db380a7685056718
tree8b4289120a66450b147c75bfb3e5f94e354e329d
parente6a6ebbf4b38369764ac4963a8d69748b2580849
brcmfmac: pcie: Read the console on init and shutdown

This allows us to get console messages if the firmware crashed during
early init, or if an operation failed and we're about to shut down.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c