Files
linux/drivers/tty/serial
Johan Hovold 814c2bac90 serial: omap: suspend device on probe errors
commit 77e6fe7fd2 upstream.

Make sure to actually suspend the device before returning after a failed
(or deferred) probe.

Note that autosuspend must be disabled before runtime pm is disabled in
order to balance the usage count due to a negative autosuspend delay as
well as to make the final put suspend the device synchronously.

Fixes: 388bc26226 ("omap-serial: Fix the error handling in the omap_serial probe")
Cc: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-20 14:27:02 +02:00
..
2015-03-26 23:00:36 +01:00
2015-10-17 21:11:29 -07:00
2015-10-17 21:11:29 -07:00
2015-11-20 16:19:54 -08:00
2015-10-12 10:54:35 -07:00
2015-03-26 22:49:10 +01:00
2015-03-26 22:49:10 +01:00
2014-06-19 13:04:52 -07:00
2015-10-17 21:11:29 -07:00
2014-06-19 13:04:52 -07:00