[PATCH v2] MIPS: rb532: fix reregistering of serial console

2014-07-03 Thread Waldemar Brodkorb
Runtime tested on Mikrotik RB532 board. Thanks goes to Geert Uytterhoeven for the explanation of the problem. "I'm afraid this is not gonna help. When the port is unregistered, its type will be reset to PORT_UNKNOWN. So before registering it again, its type must be set again the actual serial

[PATCH v2] MIPS: rb532: fix reregistering of serial console

2014-07-03 Thread Waldemar Brodkorb
Runtime tested on Mikrotik RB532 board. Thanks goes to Geert Uytterhoeven for the explanation of the problem. I'm afraid this is not gonna help. When the port is unregistered, its type will be reset to PORT_UNKNOWN. So before registering it again, its type must be set again the actual serial