Revert "bcma: init serial console directly from ChipCommon code"
authorRafał Miłecki <rafal@milecki.pl>
Fri, 13 Jan 2017 11:23:35 +0000 (12:23 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Jan 2017 12:23:44 +0000 (14:23 +0200)
commit7195439d1d71bc4a6c33cfb57bc669a7cd041041
tree793ac65a1ec8a172e9af7b0538d2aaabeb8522e9
parent60f59ce0278557f7896d5158ae6d12a4855a72cc
Revert "bcma: init serial console directly from ChipCommon code"

This reverts commit 4c81acab3816 ("bcma: init serial console directly
from ChipCommon code") as it broke IRQ assignment. Getting IRQ with
bcma_core_irq helper on SoC requires MIPS core to be set. It happens
*after* ChipCommon initialization so we can't do this so early.

This fixes a user reported regression. It wasn't critical as serial was
still somehow working but lack of IRQs was making in unreliable.

Fixes: 4c81acab3816 ("bcma: init serial console directly from ChipCommon code")
Reported-by: Felix Fietkau <nbd@nbd.name>
Cc: stable@vger.kernel.org # 4.6+
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/bcma_private.h
drivers/bcma/driver_chipcommon.c
drivers/bcma/driver_mips.c