Archit Taneja
a18a0ea009
drm/msm/dsi: Use correct pm_runtime_put variant during host_init
...
The DSI runtime PM suspend/resume callbacks check whether
msm_host->cfg_hnd is non-NULL before trying to enable the bus clocks.
This is done to accommodate early calls to these functions that may
happen before the bus clocks are even initialized.
Calling pm_runtime_put_autosuspend() in dsi_host_init() can result in
racy behaviour since msm_host->cfg_hnd is set very soon after. If the
suspend callback happens too late, we end up trying to disable clocks
that were never enabled, resulting in a bunch of WARN_ON splats.
Use pm_runtime_put_sync() so that the suspend callback is called
immediately.
Reported-by: Nicolas Dechesne <nicolas.dechesne@linaro.org >
Signed-off-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Rob Clark <robdclark@gmail.com >
2017-10-12 12:59:46 -04:00
..
2017-09-28 05:49:38 +10:00
2017-08-17 07:33:41 +10:00
2017-08-08 14:45:16 +02:00
2017-08-04 11:35:34 +02:00
2017-08-17 07:33:41 +10:00
2017-08-08 14:45:16 +02:00
2017-08-16 20:18:55 +02:00
2017-09-03 17:02:26 -07:00
2017-08-16 20:14:22 +02:00
2017-09-28 05:48:53 +10:00
2017-09-20 12:05:23 +09:00
2017-08-08 14:48:48 +02:00
2017-09-09 14:18:40 -07:00
2017-08-29 05:20:35 +10:00
2017-08-08 14:48:48 +02:00
2017-10-04 15:49:34 -07:00
2017-09-03 17:02:26 -07:00
2017-09-13 18:53:16 -07:00
2017-08-11 11:35:02 -04:00
2017-08-16 20:11:43 +02:00
2017-07-26 13:43:33 +02:00
2017-08-16 20:18:22 +02:00
2017-10-12 12:59:46 -04:00
2017-08-16 20:12:19 +02:00
2017-09-14 11:59:30 +02:00
2017-08-23 12:22:12 +03:00
2017-07-26 13:45:06 +02:00
2017-08-16 21:35:38 +02:00
2017-09-25 08:35:53 +02:00
2017-09-28 05:49:38 +10:00
2017-08-10 10:47:33 +10:00
2017-09-03 17:02:26 -07:00
2017-09-13 18:53:16 -07:00
2017-07-29 13:57:33 +02:00
2017-08-08 14:48:48 +02:00
2017-08-10 11:26:49 +10:00
2017-10-02 21:58:47 +02:00
2017-09-26 11:08:17 +02:00
2017-08-08 14:48:48 +02:00
2017-08-16 21:39:26 +02:00
2017-09-15 17:52:52 -07:00
2017-09-04 12:21:28 -07:00
2017-08-16 21:35:57 +02:00
2017-08-11 11:41:43 -04:00
2017-08-17 15:45:59 -04:00
2017-09-03 17:02:26 -07:00
2017-08-08 14:48:48 +02:00
2017-10-09 14:26:45 +02:00
2017-09-03 17:02:26 -07:00
2017-09-13 18:53:16 -07:00
2017-08-08 14:45:09 +02:00
2017-08-08 14:45:09 +02:00
2017-08-08 14:45:09 +02:00
2017-08-08 14:45:09 +02:00
2017-07-17 16:34:51 +02:00
2017-09-13 18:53:16 -07:00
2017-07-21 17:45:26 +03:00
2017-07-27 08:15:43 +10:00
2017-08-11 10:49:21 +02:00
2017-07-29 13:51:44 +02:00
2017-07-14 21:23:54 +03:00
2017-08-16 21:34:38 +02:00
2017-08-07 17:01:15 +02:00
2017-08-11 10:48:03 +02:00
2017-07-26 13:43:33 +02:00
2017-08-16 20:21:24 +02:00
2017-08-16 21:32:23 +02:00
2017-09-04 12:21:28 -07:00
2017-08-29 10:16:25 +10:00
2017-07-26 13:43:33 +02:00
2017-08-29 10:16:25 +10:00
2017-07-26 13:45:06 +02:00
2017-09-08 18:26:49 -07:00
2017-08-01 17:50:06 +01:00
2017-08-08 14:45:09 +02:00
2017-07-31 14:23:30 +02:00
2017-08-01 17:50:06 +01:00
2017-07-26 13:45:08 +02:00
2017-07-26 13:45:06 +02:00
2017-09-03 17:02:26 -07:00
2017-07-14 21:23:54 +03:00
2017-07-14 15:53:06 +02:00
2017-09-13 18:53:16 -07:00
2017-08-01 17:50:06 +01:00
2017-08-29 10:16:25 +10:00
2017-07-26 13:43:33 +02:00
2017-09-04 12:21:28 -07:00
2017-09-08 18:26:49 -07:00
2017-08-16 21:32:23 +02:00