Message ID | 20181122015237.14534-9-jonathan@marek.ca (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-arm-msm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F64816B1 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Thu, 22 Nov 2018 01:56:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A1A42BB18 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Thu, 22 Nov 2018 01:56:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E77A2BBB3; Thu, 22 Nov 2018 01:56:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D826E2BB18 for <patchwork-linux-arm-msm@patchwork.kernel.org>; Thu, 22 Nov 2018 01:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729140AbeKVMdJ (ORCPT <rfc822;patchwork-linux-arm-msm@patchwork.kernel.org>); Thu, 22 Nov 2018 07:33:09 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:45710 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403978AbeKVMdJ (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Thu, 22 Nov 2018 07:33:09 -0500 Received: by mail-qt1-f193.google.com with SMTP id e5so5987732qtr.12 for <linux-arm-msm@vger.kernel.org>; Wed, 21 Nov 2018 17:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=67w/a7Ij/tu3gR+M6MMWe3ZJ/tnI6CV1l604WGfFbyA=; b=nrVzoFli2QKKBDuRKpPDQsTrUbAT09nqOG81cdvVwNOcqBZGlQoQDpIuuZcLtEPclc L95xhcz/usI07v+TZKZiWm4ghHC9gaMnWfIloVXUMUSEO1ZkveW+RXCZUMjn5yZSsVOd Ve2wo1+KrGK86dBfw0hyEeIxj2PgaO9496W7Ptr33da/DADvwwBzb84kGYo0VHwOzI5O SPG8NhYjSMGcae1AlhzRHw3X1gOZ6b1lyvn+9tt9o/UINWw/AvpddPdMKp6svwDgMhSu 5YQa3+BHtK7N37qlb6O6CyejJwPXOwi7cDB+X20nHr/rpNqStIvAg5pm2KNw+As/2hL/ YLPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=67w/a7Ij/tu3gR+M6MMWe3ZJ/tnI6CV1l604WGfFbyA=; b=AbuQ06/HdGxU0HYUuMJ+S2jtM1reZ8FQO+EUiLMTItRyyMHcXxWynWd5RYCylBwMCC S8UtmM0Lzrn8s1H/QT1RkLFtirIzHMhP1CVl/tTszBrkVZVk2SvjQOiGjfJqkbAHtLKM TTiaLm+NbJTZ3TP4Oj2upEL7kXK5YknbTHqsXoWptFCh2ZDJS+4t2JwzrB8KXXJTZbVR h9kJjlPzNpSYPf/BrbaPSze124PHY7o0e8BOwO6WNLA7bHi/7bQzlEPMhuqXX0Y8za/p UF9UD05oDTGgiFL5lNTRcx8jXZw2UT3gm8IMqD8jAb28T9usOFJfYrLU6tom8tGj6mMk erwA== X-Gm-Message-State: AA+aEWYNR7CexuNIwnRxrJqbnDjJDr1LD19NG8JuQuLbh3AZDQum6yW1 tLSwygs4v2aKDA94HQO+5QRBWEJ3vCCJMg== X-Google-Smtp-Source: AFSGD/Vl2YqvRa4R+8Lv5jh51JgchqOChHhUUf5CQMrQKW9iSiXVXoGyLjNiXKCdU/Wu/RQK6X/zLg== X-Received: by 2002:a0c:b6c3:: with SMTP id h3mr8688277qve.128.1542851764886; Wed, 21 Nov 2018 17:56:04 -0800 (PST) Received: from localhost.localdomain (modemcable014.247-57-74.mc.videotron.ca. [74.57.247.14]) by smtp.gmail.com with ESMTPSA id q15sm25297721qkl.81.2018.11.21.17.56.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 17:56:04 -0800 (PST) From: Jonathan Marek <jonathan@marek.ca> To: freedreno@lists.freedesktop.org Cc: Chris.Healy@zii.aero, festevam@gmail.com, Rob Clark <robdclark@gmail.com>, David Airlie <airlied@linux.ie>, linux-arm-msm@vger.kernel.org (open list:DRM DRIVER FOR MSM ADRENO GPU), dri-devel@lists.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO GPU), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 9/9] drm/msm: set priv->kms to NULL before uninit Date: Wed, 21 Nov 2018 20:52:35 -0500 Message-Id: <20181122015237.14534-9-jonathan@marek.ca> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181122015237.14534-1-jonathan@marek.ca> References: <20181122015237.14534-1-jonathan@marek.ca> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[v2,1/9] drm/msm/mdp4: only use lut_clk on mdp4.2+
|
expand
|
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 5d7304b5f399..fd5769e4c42a 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -527,6 +527,7 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv) if (IS_ERR(kms)) { dev_err(dev, "failed to load kms\n"); ret = PTR_ERR(kms); + priv->kms = NULL; goto err_msm_uninit; }
otherwise, priv->kms is non-NULL and msm_drm_uninit will cause a panic. Signed-off-by: Jonathan Marek <jonathan@marek.ca> --- drivers/gpu/drm/msm/msm_drv.c | 1 + 1 file changed, 1 insertion(+)