Sean Paul 5fb9b797d5 drm/msm/dsi: Fix return value check for clk_get_parent
clk_get_parent returns an error pointer upon failure, not NULL. So the
checks as they exist won't catch a failure. This patch changes the
checks and the return values to properly handle an error pointer.

Fixes: c4d8cfe516dc ("drm/msm/dsi: add implementation for helper functions")
Cc: Sibi Sankar <sibis@codeaurora.org>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Rob Clark <robdclark@chromium.org>
Cc: <stable@vger.kernel.org> # v4.19+
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2019-09-03 16:17:02 -07:00
..
2019-08-14 18:31:10 +02:00
2019-08-06 08:21:53 +02:00
2019-07-22 21:24:10 +02:00
2019-08-06 09:20:58 +02:00
2019-08-27 17:21:04 +10:00
2019-09-01 20:55:12 +09:00
2019-06-19 12:07:29 +02:00
2019-08-27 17:21:04 +10:00
2019-08-14 18:30:52 +02:00
2019-07-17 12:52:55 +02:00
2019-08-27 17:21:04 +10:00
2019-06-25 00:10:24 +02:00
2019-06-30 09:48:05 +02:00
2019-08-27 17:21:04 +10:00
2019-08-09 09:15:05 +02:00
2019-07-17 12:52:55 +02:00
2019-06-05 20:31:04 +02:00
2019-07-22 21:24:10 +02:00
2019-07-15 18:11:31 +02:00
2019-06-05 20:29:57 +02:00
2019-07-17 12:52:55 +02:00
2019-08-14 18:31:04 +02:00
2019-08-21 16:44:41 +10:00
2019-07-15 18:11:30 +02:00
2019-07-17 12:52:55 +02:00
2019-07-25 17:35:20 +02:00
2019-07-15 18:11:30 +02:00
2019-08-21 16:44:41 +10:00
2019-07-22 21:24:10 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-07-25 10:45:07 +02:00
2019-08-09 16:04:31 +10:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-08-09 16:04:31 +10:00
2019-07-31 15:17:03 +02:00