]> git.baikalelectronics.ru Git - kernel.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)
commit94038f2dd8a15bac6270d70c3639f9c0a75ad47c
tree2c9cb90381f6378f42faaf337931b1a6acf0da5a
parent6d3436ccb1e6c09acceddc268be66e9973c751fb
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 bfad876fcc6f (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