diff options
author | George G. Davis <gdavis@mvista.com> | 2007-02-14 11:33:06 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 19:09:52 +0300 |
commit | 3689a0ec60bc8f56cc372c1dfa0d89dab48f7c9c (patch) | |
tree | 2481249f304a34fbff2db433b955178face86026 /lib | |
parent | 9b22271d4b8c1be8a81563c322d3f04e7cbe2153 (diff) | |
download | linux-3689a0ec60bc8f56cc372c1dfa0d89dab48f7c9c.tar.xz |
[PATCH] serial: make sure UART is powered up when dumping MCTRL status
Since serial devices are powered down when not in use and some of those
devices cannot be accessed when powered down, we need to enable power
around calls to get_mcrtl() when dumping port state via uart_line_info().
This resolves hangs observed on some machines while reading serial device
registers when a port is powered off.
Signed-off-by: George G. Davis <gdavis@mvista.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions