• R
    [SERIAL] Fix clocal wakeup problem · f61051cd
    Russell King 提交于
    Jim Alexander reported a problem where "if one calls open() in
    blocking mode with CLOCAL off, the 8250.c driver under the 2.6
    kernel (or at least 2.6.8 and 2.6.10) does not wake up the
    blocked process when DCD is asserted."
    
    Fix this by enabling modem status interrupts immediately before
    we read the carrier detect status.
    
    Thanks to Jim for reporting the problem and testing the fix.
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    f61051cd
serial_core.c 55.5 KB