commit | a6b93a908508810c5d51dd9b390283345af6f2d9 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Sun Oct 01 17:17:40 2006 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Oct 01 17:17:40 2006 +0100 |
tree | 71b48d3a659a025ebf333abfeec7b828becb60cb | |
parent | fe59d5372ae719ca4550958f1e5bb4dd6eeac9cd [diff] |
[SERIAL] Fix oops when removing suspended serial port A serial card might have been removed when the system is resumed. This results in a suspended port being shut down, which results in the ports shutdown method being called twice in a row. This causes BUGs. Avoid this by tracking the suspended state separately from the initialised state. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>