Tony Lindgren
cdbe65441d
serial: 8250_omap: Fix probe and remove for PM runtime
...
commit 4e0f5cc650 upstream.
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: 61929cf016 ("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-05-14 13:32:57 +02:00
..
2017-04-27 09:09:33 +02:00
2016-11-10 16:36:33 +01:00
2017-02-09 08:02:45 +01:00
2017-02-09 08:02:47 +01:00
2017-03-12 06:37:30 +01:00
2017-05-08 07:46:01 +02:00
2017-03-15 09:57:11 +08:00
2017-01-19 20:17:22 +01:00
2017-04-21 09:30:07 +02:00
2017-05-14 13:32:55 +02:00
2017-01-26 08:23:48 +01:00
2017-03-30 09:35:18 +02:00
2016-10-16 17:36:15 +02:00
2017-04-18 07:14:36 +02:00
2017-03-12 06:37:30 +01:00
2016-09-07 08:32:41 +02:00
2016-11-10 16:36:35 +01:00
2016-10-28 03:01:25 -04:00
2017-05-02 21:19:48 -07:00
2017-02-09 08:02:46 +01:00
2017-04-27 09:09:34 +02:00
2017-01-12 11:22:48 +01:00
2016-08-10 11:49:30 +02:00
2017-01-19 20:17:20 +01:00
2016-09-15 08:27:46 +02:00
2017-04-12 12:38:33 +02:00
2017-05-08 07:46:02 +02:00
2017-05-02 21:19:55 -07:00
2017-03-30 09:35:18 +02:00
2017-04-21 09:30:06 +02:00
2017-03-26 12:13:19 +02:00
2017-05-14 13:32:55 +02:00
2016-09-24 10:07:35 +02:00
2016-06-01 12:15:53 -07:00
2017-05-08 07:46:02 +02:00
2017-05-02 21:19:47 -07:00
2016-07-27 09:47:35 -07:00
2016-10-28 03:01:35 -04:00
2016-11-26 09:54:53 +01:00
2017-01-12 11:22:47 +01:00
2017-04-27 09:09:33 +02:00
2017-05-08 07:46:01 +02:00
2017-05-14 13:32:55 +02:00
2016-11-18 10:48:36 +01:00
2017-02-23 17:43:10 +01:00
2017-04-21 09:30:06 +02:00
2016-09-15 08:27:51 +02:00
2016-11-15 07:46:39 +01:00
2017-03-30 09:35:17 +02:00
2017-03-30 09:35:20 +02:00
2016-10-07 15:23:41 +02:00
2017-05-14 13:32:57 +02:00
2017-03-31 09:49:53 +02:00
2017-04-21 09:30:07 +02:00
2016-08-16 09:30:48 +02:00
2017-05-14 13:32:54 +02:00
2016-08-10 11:49:25 +02:00
2017-03-15 09:57:14 +08:00
2017-05-02 21:19:49 -07:00
2016-08-20 18:09:20 +02:00
2017-04-21 09:30:07 +02:00
2017-03-30 09:35:20 +02:00
2017-05-08 07:46:02 +02:00
2016-09-24 10:07:42 +02:00
2017-01-15 13:41:36 +01:00
2017-01-09 08:07:42 +01:00
2017-05-08 07:46:02 +02:00
2017-04-21 09:30:05 +02:00
2017-01-09 08:07:44 +01:00
2016-06-01 12:15:53 -07:00
2017-05-14 13:32:57 +02:00
2016-10-31 04:13:59 -06:00
2017-05-14 13:32:57 +02:00
2017-03-30 09:35:17 +02:00
2017-04-30 05:49:29 +02:00
2016-09-15 08:27:53 +02:00
2017-04-21 09:30:06 +02:00
2017-03-31 09:49:53 +02:00
2017-01-19 20:17:21 +01:00
2017-03-12 06:37:29 +01:00
2017-03-30 09:35:18 +02:00