]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx6q: fix uart earlycon unwork
authorDong Aisheng <aisheng.dong@nxp.com>
Fri, 2 Jul 2021 08:54:38 +0000 (16:54 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Aug 2021 01:12:23 +0000 (18:12 -0700)
commit9b8c024948a7997c40bcd3d533160e33328d8a22
tree976c0d5221fd5045d50e21df82737e8a307f2f41
parent772176852f9521a04bf6ed4c9e12717f1ccdd664
clk: imx6q: fix uart earlycon unwork

The earlycon depends on the bootloader setup UART clocks being retained.
There're actually two uart clocks (ipg, per) on MX6QDL,
but the 'Fixes' commit change to register only one which means
another clock may be disabled during booting phase
and result in the earlycon unwork.

Cc: stable@vger.kernel.org # v5.10+
Fixes: c700837d3321 ("clk: imx: Fix reparenting of UARTs not associated with stdout")
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/20210702085438.1988087-1-aisheng.dong@nxp.com
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx6q.c