]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial: omap-serial: Move info message to probe function
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 24 Jan 2014 17:09:41 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:56:08 +0000 (09:56 -0800)
commitce6acca65ee42c06ac54ec9ba918865d06cee29d
tree2c9cb90381f6378f42faaf337931b1a6acf0da5a
parentd8a5dc3033af2fd6d16030d2ee4fbd073460fe54
serial: omap-serial: Move info message to probe function

Currently the info message about a missing wakeirq for uart is printed
every time the serial driver's startup function is called. This happens
multiple times and not just once.

This can cause lots of extra messages at boot time, slowing things down.  It is
caused by commit 2a0b965cfb6e (serial: omap: Add support for optional wake-up)
which was applied for v3.13-rc1.

This patch moves the infomessage to the probe function to display it
only once.

Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: stable <stable@vger.kernel.org> # 3.13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c