Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4542925ybl; Mon, 9 Dec 2019 12:36:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxgRZ5VdPK4TzhAquW4k34+j+OdE9fcedM7VtUeMbULvEjoNwlxrzpP3PV9MehuzWpmCOkO X-Received: by 2002:a05:6830:1715:: with SMTP id 21mr23727277otk.67.1575923808530; Mon, 09 Dec 2019 12:36:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575923808; cv=none; d=google.com; s=arc-20160816; b=oBLkydaQKgcKpiRj18YIrwIdQuQX7IO9vH5WX46rrwG2Wn6cL2WOjjT8w6lFLZ34t0 6Dl/jZ/SitJjkJBTvOvYQ4xGtpzi9HbXDTvfw4XyyrRDNO00tSTEzfVfGhQWDHuPxXHI R3wrxyet38A9V/FDSoNz96d/WJAIsAM8YqGZoWjK+LE02pahMYn0mZ8crvUALcJn+xXg R8mqTyZJyUxhAxXo9AIUsE8jRYcaal47BIMZHA5NbC1vndxaYRkUSIulFo9GBWeqqZd+ Qt3A1F/bXbenA38BOB937yW3Lr2FO0P1R6UoUvQUwyi8FUftE2Ke+r8OnlFRspKuMWuX qghQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qOohvwX4XGjXVaQmYXwJYQbj/SKTeE55N+ODU5Zvd+U=; b=D0x3M4OX0rL2iRZCXb8vQ+4a+8kek/qFRU3wZTU0TcZNShRqsrIdFgvewFIXh1VE0b 3w1//yVU4fsBuIM+yug6u8vFyIJ6RZ2/jt0oaLP7mrxOMU4VzulmcX7yFcMr954Nl8cn aiUWlYc9Bncs+BRjODYdrh8vPlOpScmeqyJT+3heQTYB+yJR0cnuOBEI30Gj+MmiCLM2 fNZP8t3W7byilqdhZQTUvEF+Dz9IgOo6Nht8XG5M83DYvAOYh4z0yQrAP81ijYmqQ1v6 kc7qbCVtXtWjjJyc6kP8Knmt2+9QbzWas4+BwMzKrXsmypBEyUycFveZN4L+B5nrfbsd yeSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lXMaa1R4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si513900otk.290.2019.12.09.12.36.31; Mon, 09 Dec 2019 12:36:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lXMaa1R4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbfLIUfj (ORCPT + 99 others); Mon, 9 Dec 2019 15:35:39 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:40221 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726342AbfLIUfj (ORCPT ); Mon, 9 Dec 2019 15:35:39 -0500 Received: by mail-lf1-f66.google.com with SMTP id y5so11810752lfy.7 for ; Mon, 09 Dec 2019 12:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qOohvwX4XGjXVaQmYXwJYQbj/SKTeE55N+ODU5Zvd+U=; b=lXMaa1R4O5zqdvuM3yXaLSWVH7s+5PJJeEtKjJOpVXvwRVMQkKf6Wz9GdjvUhXtdI9 QjE69/mknRmToGk3tSVuNIXuNtWAO7l6xfkWc1i5dAQl8M4H8yQbqXWmJ/VvMaEuicot ORH1+l1V4SMPBOWl7M/wcFYfqE6AsIa5hmRmq1cXd4t66eP0r+lmBdwt6LFsWtRQ1H0+ GS9CZ4vsuLIzQWSG+h0yR2k7ar4QVnf1AYkN/0syrHYIKPMCbhwSX9zYfCUk5KDP+xcg TA253yoID0ZGkTXTu8NLMvt+VzjEE9IVFY17y2Co2LpEXbGx4bvQX617/dquvkCrNDGd Ptgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qOohvwX4XGjXVaQmYXwJYQbj/SKTeE55N+ODU5Zvd+U=; b=dVhcmir5H61Fjeew8Qxf5mCifu8kJuFtJ9dDFk2/WbSPjX+8HepfBCRsjZtDVHe/gc KmzonUTF8Lo6rNqFU4dHZrTPtQnMd/acBAw8ky7ksRNfV8ffL880miUeOVwsT9iVl+GK N3oaoDwjQk7moXOMqlgciy9vOvs/LYwZd3B8C3mgJnz+zy5ML6J7ctYgvfnZNn+gn2Df +fQ1plDR6tRB0aIXbKJQ6D4tpqvWUIgdZ0Yuwxr3lAzYNW+w3TXDdvjHb9Gftg08GlYP hckInIdLTXZPGdBdgBHv1mJL/+i1K+Ioo732OkNNXcW5O2NexhWqO9VbYeFowxl0nQlS HlcQ== X-Gm-Message-State: APjAAAXkV+FXToxCRnU2I7wKVU1lATJwAFeNnIH025yUboGf0SqPUrdB fMyk88EHhJflzkyD1hUdeQR6bSsiXI4ylGgjHs8= X-Received: by 2002:ac2:420e:: with SMTP id y14mr16933214lfh.145.1575923737015; Mon, 09 Dec 2019 12:35:37 -0800 (PST) MIME-Version: 1.0 References: <20191209085747.16057-1-hslester96@gmail.com> In-Reply-To: <20191209085747.16057-1-hslester96@gmail.com> From: Patrik Jakobsson Date: Mon, 9 Dec 2019 21:35:26 +0100 Message-ID: Subject: Re: [PATCH] drm/gma500: add a missed gma_power_end in error path To: Chuhong Yuan Cc: David Airlie , Daniel Vetter , dri-devel , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 9, 2019 at 9:57 AM Chuhong Yuan wrote: > > oaktrail_lvds_mode_set() misses a gma_power_end() in an error path. > Add the call to fix it. > > Signed-off-by: Chuhong Yuan Hi Chuhong, thanks for the patch. Applied to drm-misc-next -Patrik > --- > drivers/gpu/drm/gma500/oaktrail_lvds.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c > index 7390403ea1b7..582e09597500 100644 > --- a/drivers/gpu/drm/gma500/oaktrail_lvds.c > +++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c > @@ -117,6 +117,7 @@ static void oaktrail_lvds_mode_set(struct drm_encoder *encoder, > > if (!connector) { > DRM_ERROR("Couldn't find connector when setting mode"); > + gma_power_end(dev); > return; > } > > -- > 2.24.0 >