diff options
author | Christophe Leroy <[email protected]> | 2019-05-22 12:17:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-05-24 10:00:08 +0200 |
commit | 06aaa3d066db87e8478522d910285141d44b1e58 (patch) | |
tree | 6e98ae7e4a99556fda3c7e388bd9003d34bcd10b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2c58e56096dd011ea43f29a032d19b0e76fe2570 (diff) |
tty: serial: cpm_uart - fix init when SMC is relocated
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 <[email protected]>
Fixes: 9ab921201444 ("cpm_uart: fix non-console port startup bug")
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions