Skip to content
Commit ef1136fb authored by Russell King's avatar Russell King Committed by Adrian Bunk
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent aaab1c66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment