From: Peter Hurley Date: Mon, 9 Mar 2015 20:27:17 +0000 (-0400) Subject: serial: 8250_early: Fix setup() error code X-Git-Tag: omap-for-v4.1/fixes-rc1~74^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd385e9a2a2daa7e74003f930886e4c1cdf032f4;p=pandora-kernel.git serial: 8250_early: Fix setup() error code If parsing failed to decode a valid uart addr, return -ENODEV instead of success. Although setup_earlycon() will detect the failure anyway (because the write() method has not been set), that behavior is not obvious and should not be relied on. Acked-by: Rob Herring Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed