Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL"
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 10 May 2022 12:26:20 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:35:17 +0000 (16:35 +0200)
commite99bad0d76cf23551f2b0e47d1e18ab6fc8bb9cb
tree74e7df6591034e1a5b7cf76eae4919fd1ee5c767
parent2fa22e7906c1caf4731dc150a464547468b4b03a
Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL"

commit f0136f65285bcfb7e8f90d1013723076a35acd51 upstream.

It was found that some MediaTek SoCs are incompatible with this
change. Also, this register was mistakenly understood as it was
related to the 16550A register layout selection but, at least
on some IPs, if not all, it's related to something else unknown.

This reverts commit 6f81fdded0d024c7d4084d434764f30bca1cd6b1.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 6f81fdded0d0 ("serial: 8250_mtk: Make sure to select the right FEATURE_SEL")
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Link: https://lore.kernel.org/r/20220510122620.150342-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mtk.c