summaryrefslogtreecommitdiff
path: root/Documentation/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/.gitignore')
0 files changed, 0 insertions, 0 deletions
mm?id=0369c360e5825e34ff58c140aa7fbb9855ad1e4a'>patch) tree871be10d0b14cf2a48039647fbf39ca7609e49fd /arch/mn10300/mm parent97a70b14395be0ca61b9fa56f8ff5f6313c26423 (diff)
MN10300: fix debug polling in ttySM driver
The debug polling interface for the SoC serial ports did not work in the case where the serial ports were not also used as a console. In that case, the uart driver startup function will not be called so tx and rx would not be enabled in the hardware control register. Also, vdma interrupts would not be enabled which the poll_get_char function relied on. This patch makes sure that the rx and tx enables are set as a consequence of the uart set_termios call which is the only initialization done for the debug polling interface. Also, the poll_get_char now handles the case where vdma interrupts are not enabled. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/mm')