diff options
| author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-05-22 12:17:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-04 09:34:56 +0200 |
| commit | 63d1bc1d212440c826f584cf259bc8274c9dcaa3 (patch) | |
| tree | 0f225690a996762ad1567bd4a517e03abc89d0d8 /include/linux/timerqueue.h | |
| parent | 345f195da4fc020551677d0da4e24d03409cc9db (diff) | |
tty: serial: cpm_uart - fix init when SMC is relocated
[ Upstream commit 06aaa3d066db87e8478522d910285141d44b1e58 ]
SMC relocation can also be activated earlier by the bootloader,
so the driver's behaviour cannot rely on selected kernel config.
When the SMC is relocated, CPM_CR_INIT_TRX cannot be used.
But the only thing CPM_CR_INIT_TRX does is to clear the
rstate and tstate registers, so this can be done manually,
even when SMC is not relocated.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Fixes: 9ab921201444 ("cpm_uart: fix non-console port startup bug")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
