Message ID | 20181122015237.14534-9-jonathan@marek.ca (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.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 07CF21750 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 23 Nov 2018 07:42:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED11D2BCA5 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 23 Nov 2018 07:42:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1AAD2BCAB; Fri, 23 Nov 2018 07:42:00 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 814BD2BCA5 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 23 Nov 2018 07:42:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE8496E438; Fri, 23 Nov 2018 07:41:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by gabe.freedesktop.org (Postfix) with ESMTPS id 98AE96E3A4 for <dri-devel@lists.freedesktop.org>; Thu, 22 Nov 2018 01:56:05 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id k12so5979371qtf.7 for <dri-devel@lists.freedesktop.org>; Wed, 21 Nov 2018 17:56:05 -0800 (PST) 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=toge8q+AjPatJcHLL1zCWxQKsRlkjNwVIo2J2muoq1HrOFZQ21SzAgTGgO4x1i6e/b ma9asscgETK0JHPEaIanM73uC+wYQoRE4Hk/Z1WtnjVkBq3/MufpEs+ypfPnGYCgn/He bRkDrLtIj4Z2tgGxslvlFHMnd6dWMgoWIhjlfJQSJQBd0TvSr0vIqNltXdITyG1jIY7Z zdqrZTbuugNTpBC3nDqi25ExOmH+eiAQE1lsk6J+sIFjj1/Z904lEcrvP1ZwZX/DPJis YHURxW4yxHEWr0inQWWw577dVQpuEyW5Twcnl3o+jtXKpIGl4fLGAVTtKunTJPjGcM9r 0URA== X-Gm-Message-State: AA+aEWan5+TpFlsxNgbYMal9E4gTN8d8KANcQuOPemUbgw+742Vr4wvO Ekm4Icc8Edft5yqDMTAKE2N5eg== 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 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> X-Mailman-Approved-At: Fri, 23 Nov 2018 07:41:29 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, "open list:DRM DRIVER FOR MSM ADRENO GPU" <linux-arm-msm@vger.kernel.org>, open list <linux-kernel@vger.kernel.org>, "open list:DRM DRIVER FOR MSM ADRENO GPU" <dri-devel@lists.freedesktop.org>, Chris.Healy@zii.aero MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.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(+)