]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: pcie: Read the console on init and shutdown
authorHector Martin <marcan@marcan.st>
Mon, 31 Jan 2022 16:07:13 +0000 (01:07 +0900)
committerKalle Valo <kvalo@kernel.org>
Tue, 1 Feb 2022 12:27:08 +0000 (14:27 +0200)
commit401e6e02bb17fdc2fae4afbd99af44fecc0164cb
treeabc17c10942996d59ae9ee6ac58598f35f9b1ce7
parent0a55cbfdb9d99c33bef1268cd8bde0c7a5298da5
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>
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220131160713.245637-10-marcan@marcan.st
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c