Marek Szyprowski
0a51897bfa
drm/exynos: Fix potential NULL pointer dereference in suspend/resume paths
...
The patch 6e8edf8a7d8d: "drm/exynos: Fix suspend/resume support" introduced
a new code in suspend/resume paths. However it unconditionally dereference
drm_dev pointer, which might be NULL if suspend/resume happens before
Exynos DRM driver components bind. This patch fixes this issue.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 6e8edf8a7d8d "drm/exynos: Fix suspend/resume support"
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2017-10-16 07:44:48 +09:00
..
2017-10-12 10:34:42 -04: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-10-16 07:44:48 +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-06-20 10:41:03 +02:00
2017-10-11 10:32:57 -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 14:21:22 -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-06-20 10:41:03 +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-06-20 10:41:03 +02:00
2017-09-13 18:53:16 -07:00
2017-07-29 13:57:33 +02:00
2017-06-20 10:41:03 +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-06-20 10:41:03 +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-06-20 10:41:03 +02: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-05-30 08:37:50 +02:00
2017-07-04 13:16:26 -04:00
2017-06-20 12:13:11 +02:00
2017-08-08 14:45:09 +02:00
2017-05-30 08:37:24 +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-07-08 20:51:46 -04: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-06-01 08:02:14 +02:00
2017-07-04 13:16:26 -04: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-06-20 10:41:03 +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