Tony Lindgren
4e0f5cc650
serial: 8250_omap: Fix probe and remove for PM runtime
...
Otherwise the interconnect related code implementing PM runtime will
produce these errors on a failed probe:
omap_uart 48066000.serial: omap_device: omap_device_enable() called from invalid state 1
omap_uart 48066000.serial: use pm_runtime_put_sync_suspend() in driver?
Note that we now also need to check for priv in omap8250_runtime_suspend()
as it has not yet been registered if probe fails. And we need to use
pm_runtime_put_sync() to properly idle the device like we already do
in omap8250_remove().
Fixes: 61929cf0169d ("tty: serial: Add 8250-core based omap driver")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-25 11:08:30 +01:00
..
2017-01-25 11:08:30 +01:00
2015-10-04 19:09:21 +01:00
2016-09-02 15:01:16 +02:00
2016-09-02 15:01:16 +02:00
2016-09-02 15:01:16 +02:00
2014-11-06 14:57:27 -08:00
2017-01-19 14:20:23 +01:00
2015-12-13 19:59:48 -08:00
2015-10-04 19:09:21 +01:00
2016-08-04 08:50:07 -04:00
2016-09-01 21:05:41 +02:00
2017-01-11 08:18:45 +01:00
2016-09-02 15:01:16 +02:00
2017-01-19 14:20:23 +01:00
2015-12-13 19:59:48 -08:00
2016-07-06 17:38:16 +02:00
2016-11-10 14:41:25 +01:00
2014-11-05 20:18:30 -08:00
2016-02-14 17:39:36 -08:00
2016-09-02 15:03:35 +02:00
2016-09-28 17:46:46 +02:00
2015-11-20 16:19:54 -08:00
2017-01-12 11:51:24 +01:00
2016-12-24 11:46:01 -08:00
2016-11-10 14:50:46 +01:00
2017-01-12 11:51:25 +01:00
2015-05-10 19:04:17 +02:00
2016-11-10 14:50:46 +01:00
2014-11-05 19:20:52 -08:00
2017-01-12 11:51:24 +01:00
2015-05-06 22:26:57 +02:00
2017-01-12 11:51:24 +01:00
2015-10-04 19:09:21 +01:00
2016-06-25 14:00:06 -07:00
2016-10-27 16:27:24 +02:00
2017-01-12 11:51:24 +01:00
2016-09-02 15:01:16 +02:00
2015-05-06 22:26:59 +02:00
2016-09-02 15:01:16 +02:00
2017-01-19 14:38:57 +01:00
2016-02-06 22:31:47 -08:00
2016-06-25 14:01:57 -07:00
2016-02-06 22:16:21 -08:00
2017-01-12 11:51:25 +01:00
2015-10-22 15:44:28 +02:00
2016-06-25 14:00:06 -07:00
2017-01-12 11:51:24 +01:00
2017-01-19 14:20:23 +01:00
2016-10-27 16:01:31 +02:00
2017-01-12 11:51:24 +01:00
2016-05-13 14:01:56 +02:00
2016-06-25 09:01:52 -07:00
2014-12-14 16:10:09 -08:00
2016-11-10 14:50:45 +01:00
2014-12-14 16:10:09 -08:00
2017-01-12 11:51:24 +01:00
2017-01-12 11:51:24 +01:00
2016-10-30 06:42:10 -04:00
2016-12-24 11:46:01 -08:00
2016-01-28 14:17:42 -08:00
2016-06-25 14:30:42 -07:00
2016-06-25 14:30:42 -07:00
2016-06-25 09:01:52 -07:00
2017-01-19 14:17:05 +01:00
2017-01-19 14:17:05 +01:00
2016-04-30 09:26:55 -07:00
2016-06-25 14:01:57 -07:00
2015-07-23 18:27:41 -07:00
2016-05-27 15:26:11 -07:00
2016-09-02 15:01:16 +02:00
2016-09-27 12:55:27 +02:00
2016-10-27 16:00:31 +02:00
2015-07-23 18:27:41 -07:00
2016-11-16 10:57:25 +01:00
2014-12-14 16:10:09 -08:00
2016-11-16 10:57:26 +01:00
2014-12-14 16:10:09 -08:00
2016-09-02 15:01:16 +02:00
2016-09-02 15:01:16 +02:00
2016-05-01 13:55:12 -07:00
2016-08-31 15:42:28 +02:00
2017-01-25 11:08:30 +01:00
2016-02-06 23:13:30 -08:00