From: Waldemar Brodkorb Date: Thu, 3 Jul 2014 14:17:53 +0000 (+0200) Subject: MIPS: RB532: Fix reregistering of serial console X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98fd44bebac6aa203eaf8a433d3a3ded374bae5;p=pandora-kernel.git MIPS: RB532: Fix reregistering of serial console 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 driver, cfr. the change to of_serial.c." Signed-off-by: Waldemar Brodkorb Reviewed-by: Florian Fainelli Cc: Linux MIPS Mailing List Cc: geert@linux-m68k.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/7241/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed