Revert "tty: serial: amba-pl011: Remove QDF2xxx workarounds"
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Thu, 1 Feb 2024 17:01:12 +0000 (18:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Feb 2024 14:30:36 +0000 (14:30 +0000)
commit52b56990d214c7403b20f691ac61861a37c0f0db
tree036ec7579578b71f3527c49c92006bec90bb4e8f
parenta802f50d6e92298d44a806d326a2ba3eefa6db72
Revert "tty: serial: amba-pl011: Remove QDF2xxx workarounds"

The original commit assumed this hardware is long rotting in the
junkyards, but apparently Qualcomm is still using some of these old
servers internally and the thing can still run upstream.

Adding insult to injury, I apparently managed to overdelete code and broke
non-QDF2xxx platforms [1].

Revert the removal to keep things going, at least for now.

This reverts commit 196f34af2bf4c87ac4299a9775503d81b446980c.

[1] https://lore.kernel.org/lkml/20240131213543.958051-1-m.szyprowski@samsung.com/

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240201-topic-qdf24xx_is_back_apparently-v1-1-edb112a2ef90@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c