Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp790042lqo; Fri, 10 May 2024 15:28:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUdtqfrlr+njDH0mxxbgG3CoaQJ8dKOIPr3G2YB41zDe7y+fvqaRzx8YHntFXJShNv2iA0tkNBDtVy4C+wyN31fDTlA4fM+8DgvhF70rQ== X-Google-Smtp-Source: AGHT+IH00RbfHsNcP+i54YPMnFkRMoVrw8b5kN08mPAYf++VyEc2CjM0ZerqBdOfcEVivm6tROZ7 X-Received: by 2002:a17:902:e749:b0:1e4:cb0e:2988 with SMTP id d9443c01a7336-1ef43d2e355mr46798785ad.2.1715380110315; Fri, 10 May 2024 15:28:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715380110; cv=pass; d=google.com; s=arc-20160816; b=vH1kSBVuYCGibSpkJMjGphVFqSPV+hgjlrTEe83YWUTlZ6V5Xyj6Q9/+sNDSNfVYG4 tkkPIOhADiKgXJmd5Eq4gs91dPHcvRvhzSGdciCeJ3N8kMmxa7ejFI2qmUwG/7QWLHys NrSc/nAbQloxLmM17eczgR6/KOSn3XYoUaH9+vui+VMySQFKEq4LzLVoo6bqSB+XpiWl 9C3Rocrjjpub9WRX3UXiSZoEYbcMcC59jt6kTIR/3AVwQ9F9rhd9BYDrgPqKR/g+WGru 7NngwsOyF8yd6DXcOg/daGiiXpIdtDCZ5hVgS5mG+fkZJ0rX7xXdSeyDcOeUVQEOEhQV 94zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=NVisxd1xtcmhvxdpqTGyNvzYQwpGM+4jeLB5LKdcrvQ=; fh=tCsj9u3Ze5jGv6LTNTwp0WAEBm+9ENUFwi6xLTjryNw=; b=B/GLQGDnNil/ao5Gkyhtdz7n0yy0dbza/8CoFspE2RfNGSzYuft4kiy95gOVCPwtc7 mbF3Do4a8gdBJ1GAoL6EFJmTyCQpFCPUb9CUog6zncJdB/6glSXr9bP2xzgK1duNEwyw O7Q5v0B3YipzgfyRm9ePPVpi+jQfkdY66VACe6QL2Tp5QTpshQqlWB53IIJ2tNGxvWqV zGTdGafkstRAcIdTvjPYRqU7Mkdv3pwOZRaJlEAexp/3CGinjGgJleqWU2XSs22aTKm+ 4+37lvisXxxkVDjfAap0XJ6XFYCQBC6kxr66KYUY9F2vGsF5arvvQWWSTHNT4gDtHWRP nvaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WEYG0ggp; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-176274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c03b00dsi46922465ad.429.2024.05.10.15.28.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 15:28:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WEYG0ggp; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-176274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F2F3F28560D for ; Fri, 10 May 2024 22:28:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B98E13D25D; Fri, 10 May 2024 22:28:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WEYG0ggp" Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BA9613D249 for ; Fri, 10 May 2024 22:28:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715380104; cv=none; b=lxguYLje3nd/L1V4zEUqzwspVSGwAPBYEzZ0v7px0GfZ5XV7SRGW7d5ub2DTQ34J3fZP2DSaGI+xvRv6x8z7ImALfVSA5uPQEnhiK5k+zHaNvR6GANtvcbYKM5Tg96Z2LlFzh0ZbXgUCwqFtv7/1ed+wgyYvubs4nTAek/nUWQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715380104; c=relaxed/simple; bh=QUvkzr2l/uiy5GlxGfNfCrbyjBH0No4JLdD4lgoUp/w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PU0zK0tWVfqNr8oL1YsGrkD8Q4TNtGrMWWxM4hZ+uTp3NVBOvmaB8E7zlofjTRsmBV2d/iSnz243Rm+d8Uya/1sL5LzWauhivx3OsrPCzPgMLLkSyOhh1hmN06ewA5gVrzvCOB+VkWDFkzmES8sksdU17gqVcfpEgzqGM2iaTMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=WEYG0ggp; arc=none smtp.client-ip=209.85.222.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-792bae4137bso223965285a.3 for ; Fri, 10 May 2024 15:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1715380100; x=1715984900; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NVisxd1xtcmhvxdpqTGyNvzYQwpGM+4jeLB5LKdcrvQ=; b=WEYG0ggpgGb6MHdfspMq5cKeBS6Eon4lvoXeCY023umEJuxB3nwg5onwmt30OpbDtO lAM4xa4cKlneXNlB9XD/sbRyjh770raec8aNMIbhz8ctiLKj6H7Vg5vjCAm7cYrXpK4a oRofxmOxVnL9tt8f4rqCExcyYBDtTcRH+auc0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715380100; x=1715984900; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NVisxd1xtcmhvxdpqTGyNvzYQwpGM+4jeLB5LKdcrvQ=; b=TuKziV+3mNtLAfZ76p+4lxekmK3LTevMk13Hh55wtBCwxFREfAGcjWlM9nf3UXsPUO SDq4F4LMow5jsGs8hfVSoACL/ByGRY32YbWVRjaV12LHSbrbuaC/ARDslyblC+cjrAuF dPD5TYgEhWYFUnYmekyke9ZzHDtN+uVXIMiYvKMVQKme63YFFd4rzDNlasiHPArrDm2q mEvZSyWcOAGErAvS8CgdIpNrEQCZgGtXuAR/llVOMd4Hqskvwt5fY79zEF1yW2Qtv5UZ y0HP1kTLyXiTNa2Rc9svaMnnoXPjxkCjf6BnuyWyyAMkizD8cfwFpihtHYrOCQ7Vm0rQ JYCw== X-Forwarded-Encrypted: i=1; AJvYcCXrqJKp6kmtGNOVzPbr53YtAKTApeKvuldu90gOtE8uqN5mUEgwNgKjIjcqOwnmlpERCKOVyzWs9Ot+PdSlnydsPQvAZb9my33v43s6 X-Gm-Message-State: AOJu0Yx9k53N+zWRm4YCOmpOGg3aVrF9yGzoVsGPi76cbmcSNDnYJKF5 DVkfOy2UFlX3JJgsVpfNou2ZZsFxx7Y7X9OrYcD/YADXIlyLC7a3OyAx08DtFibIHXF3XfysKf0 = X-Received: by 2002:a05:620a:390e:b0:792:bcb1:7308 with SMTP id af79cd13be357-792c7598bdbmr503306385a.20.1715380100456; Fri, 10 May 2024 15:28:20 -0700 (PDT) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com. [209.85.160.175]) by smtp.gmail.com with ESMTPSA id af79cd13be357-792bf32e705sm220108685a.124.2024.05.10.15.28.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 May 2024 15:28:19 -0700 (PDT) Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-43dfa9a98d2so23241cf.1 for ; Fri, 10 May 2024 15:28:19 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXJ8jMC44aTa9GSAuFcnjpE+bMj2383UMl8s/FenohvB6At6iFu1nPtlOWsOVsJviISQjCxpMje5VTzFO3UTS9s4ft/Dhmv0XZLklc5 X-Received: by 2002:a05:622a:1c15:b0:43a:f42f:f0b4 with SMTP id d75a77b69052e-43e0a22b948mr305931cf.13.1715380098995; Fri, 10 May 2024 15:28:18 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240510-dsi-panels-upd-api-v1-0-317c78a0dcc8@linaro.org> <20240510-dsi-panels-upd-api-v1-6-317c78a0dcc8@linaro.org> In-Reply-To: From: Doug Anderson Date: Fri, 10 May 2024 15:28:03 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC 6/7] drm/panel: lg-sw43408: add missing error handling To: Dmitry Baryshkov Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Neil Armstrong , Jessica Zhang , Sam Ravnborg , Sumit Semwal , Caleb Connolly , Marijn Suijten , Vinod Koul , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, cong yang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Fri, May 10, 2024 at 3:25=E2=80=AFPM Dmitry Baryshkov wrote: > > On Fri, May 10, 2024 at 02:47:05PM -0700, Doug Anderson wrote: > > Hi, > > > > On Thu, May 9, 2024 at 3:37=E2=80=AFPM Dmitry Baryshkov > > wrote: > > > > > > Add missing error handling for the mipi_dsi_ functions that actually > > > return error code instead of silently ignoring it. > > > > > > Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") > > > Signed-off-by: Dmitry Baryshkov > > > --- > > > drivers/gpu/drm/panel/panel-lg-sw43408.c | 33 ++++++++++++++++++++++= ++++------ > > > 1 file changed, 27 insertions(+), 6 deletions(-) > > > > Looks right to me. Only slight nit would be that I'd put this as the > > first patch in the series to make it obvious to anyone backporting it > > to older kernels that it doesn't have any dependencies on the earlier > > patches in the series. It's fairly obvious so this isn't a huge deal, > > but still could be nice. > > Yes. I wanted to emphasise the _multi stuff rather than this fix. I'll > reorder patches for v2. Maybe I should also rebase the series on top of > patches by Cong Yang. WDYT? Sounds good. I think Cong is planning on a V6 to fix the last nit I had on his patch series [1] but otherwise this plan sounds fine to me. [1] https://lore.kernel.org/r/CAHwB_NKtw0AyMgFb4rMFNgr4WF10o9_0pYvbKpnDM45a= Yma9zg@mail.gmail.com -Doug