Tomi Valkeinen 5025ce070e OMAPDSS: fix bogus WARN_ON in dss_runtime_put()
pm_runtime_put_sync() in dss_runtime_put() returns -EBUSY when any child
of dss is still enabled. This happens, for example, when a display
output is enabled and one dumps the clocks via debugfs. This causes
dss_runtime_get & put to be called.

While I couldn't find anything about this in the documentation and it
wasn't immediately clear from runtime_pm code, it looks to me that
pm_runtime_put_sync() returns -EBUSY to inform that things went fine,
but the device could not be turned off as there are still child devices
that are enabled. This is not a problem.

This patch skips the WARN_ON if pm_runtime_put_sync() returns -EBUSY.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-06-04 11:04:41 +03:00
..
2012-04-05 22:13:39 -07:00
2012-02-07 15:54:02 -08:00
2012-04-08 14:27:08 +00:00
2011-07-26 16:49:47 -07:00
2012-03-28 18:30:03 +01:00
2012-04-08 14:27:09 +00:00
2011-10-03 15:52:38 +00:00
2012-04-08 14:27:09 +00:00
2012-01-28 20:50:11 +00:00
2012-01-28 20:50:11 +00:00
2011-03-31 11:26:23 -03:00
2012-01-28 20:50:11 +00:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2009-12-16 07:20:04 -08:00
2012-03-28 18:30:03 +01:00
2009-05-06 16:36:10 -07:00
2011-09-01 00:31:05 +00:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-01-03 16:02:55 +00:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2012-02-15 04:31:21 +00:00
2011-09-27 18:08:04 +02:00
2012-03-27 16:03:32 -07:00
2012-01-22 14:50:02 +01:00
2010-02-27 18:31:14 +01:00
2012-02-15 04:31:21 +00:00
2011-09-14 16:40:52 +00:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2011-10-03 15:52:22 +00:00
2012-03-28 18:30:03 +01:00
2010-12-21 01:05:43 +09:00
2011-12-21 02:25:21 +00:00
2010-05-25 08:07:09 -07:00
2011-06-24 17:14:39 +09:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-10-03 15:52:22 +00:00
2012-03-22 20:43:40 -07:00
2011-06-24 17:14:39 +09:00
2010-02-27 18:31:13 +01:00
2011-07-04 16:02:48 +09:00