Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2133250lqo; Sun, 19 May 2024 15:28:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKLiZZohgT5lapJ8GLnvvDGdbhv/EDWOZC1CUaYBlqflzxAIAOZs3aapkQIsEjjsLeo48O8d+AHYHQY29p3N9wBM0wP2O1q+8aM7UcHA== X-Google-Smtp-Source: AGHT+IE2o9DjlkXs2hTjWoLIayokoJCAaspX2oDHfxuOUxGi4UyttUEZHqXvJYcbr0KIM4Zuz46e X-Received: by 2002:a25:5102:0:b0:dcc:dbb8:ba73 with SMTP id 3f1490d57ef6-dee4f1c5fdemr23034770276.9.1716157688262; Sun, 19 May 2024 15:28:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716157688; cv=pass; d=google.com; s=arc-20160816; b=ZH2PVrin+rBVZELRvtyEbOKiwD4y3wXYT4a4fhtGdI1CUzNXRYSD3FYnwwJGmU4esz aS8QT7KmtR80k9U9e08/sj9Wo1ezZeJf54/SWlPyGgrrRLSkSYYleWRTDPbMoYwcp0uo ZAQt9KrncoJOmFp0p501edda61cc6nl+wy56s7eIVp8fGw5suKOGua/OZIdv+yK9bZky 8zudlj7cVgDW0nStuMov0VLw/8Exo2QC1OIV+IdUIEUqprfwFk2gVNu0SkSdkOsrgHY9 dlCHaYeJ8MCM5JI6j40XrQzqc6JtPwrAn53Sk/BeE2/ibGRtn1xUoEPNRgjoXJzU2MmS dcsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HXDdcRRTfODpXRQ/anh1Jb88k/SxpaOdAv6cFEMztOs=; fh=U7/K81VDaIpIL6Y2l/Z8m/z3qPr6Vb1rGvyZ8UCfV8c=; b=K5VBvftWppZRje0RhnkjTezrJ3HI6ka7K5Cb3kAuRJkp7MQfDc2TC23mvUOE3jeD+L 3AlqI+m3RuvGmWXXHTz5rn3SXXp2mVmsh0d4NPjRF7mcsUaiXXiUpbjvQaZ7zpArspOD QLAwC9ig26h3RfyzG44jEPSzUIKcrT8aZeLFxQJVmP7IMVCh3yif/3spSzBV2b2n6r9z KXfdJclyeYPwQrYUOvKeaxr6LKuuj5dCtKLf02dKtBLS7Lk6IFi3/Bb8vqrVRh+DQiRI EQSSKOHkFbAwMshFqof6iU3+OtPTsemTnYBLVP3jJ/J3RsYmxiSWkhXcybtNeNn+/Pfg hefw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n7lNp5g0; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-183296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a35bb716a6si100815976d6.230.2024.05.19.15.28.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 15:28:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n7lNp5g0; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-183296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0390B1C208F4 for ; Sun, 19 May 2024 22:28:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7182E73173; Sun, 19 May 2024 22:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n7lNp5g0" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 2262B6BFD4 for ; Sun, 19 May 2024 22:28:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716157682; cv=none; b=FKLk1PdRkMTPCPkWZef9qf9uU/as/0dtumEQONdUuU6QIdYqGD937GyrPGGKXCsJopTaym0ajlNh+Gjt3Wwwk/wzO2+wHHJxQKnBb92fMGvo057kOs5AzOjBOUjX7YoVMZ8fAfU8206Y8TV//z6arvfYBjPNrz1qagIoDeBwT0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716157682; c=relaxed/simple; bh=xWzZahK1fJ0VnDkxKLn/8pVhsSctmeuFlgGFw70yuS8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ubRrzcVjBi8U2hiqWPiD5kkGP6K6VKLwRFgrXsSXbeBW+NPEXlbxLe7on/+FMsM2S7/6qSKTMaVgtxRUDl362UF02nRImtq+yi4hTw0JZylvShVvvZoewDMrzuvgRZgoe2G26ksE+a+8OYF7IRaQZQb2u2bzmdz7Kq+6lIlGcMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=n7lNp5g0; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-51f3a49ff7dso4855978e87.2 for ; Sun, 19 May 2024 15:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716157679; x=1716762479; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HXDdcRRTfODpXRQ/anh1Jb88k/SxpaOdAv6cFEMztOs=; b=n7lNp5g0PL2RDJJ7y/QgqdEwK1cSU0igTQstergj0mqb8dbSmf+hdxsT5sMSQPmaHI qH0/cz/+ZCazLHcwBcOmKJnuTdRnXNpwQBuzreTwxnIz7a8Kwx2TKqcX+60ioJCp6hY6 CHDkr9C3urCos/uy9xqIlj1+LCrVbQB6oaAEDk1sJsD5YsO7jkMr8gvpduiH/fgsAz+2 56muH6EI8NRitPx1R9UyK8SeIwuVZfhoE5Kxh8ylnxj5PqDwIA9LCZl4///0n8FD9AKf WLAK2CpmNEMf/jLrghejzFAVZYOPPg1odzo/zFDw6hYNMEzjDcVwPLojcbhQNlLsxvNW zrgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716157679; x=1716762479; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HXDdcRRTfODpXRQ/anh1Jb88k/SxpaOdAv6cFEMztOs=; b=DU735mFthUZ3G0B5KeBLfWBAixybaGtBfFlOp3rCBTAoRpMRwIVhkUgrHsM/2WYyBR YGYQoIHVjHdicc4Yl+xcD0Q+q8YZV4p4Rykhr/nlCZFDMJFRkH8DE4vyKIZGukFvkb0K 4wb6dbTmmYQlsN+xxN8ZbrjPtuPME//H4ULap6IhF5HI3sIrBCeFkqGW0/zmoVj2i4Il RBwJMw0LOpbo1bDwLXT1v4WF2OG5TuwHi0Hev/DDGPfNiCUGnGHh8yV0CJkny2BQtwfp ebq4jfcDIdt6SOmWEYMRsDzV11OvCylKPbxzmx275Z7dWRRgqt4u2/KO8ReRMdM0ZJkz cvoA== X-Forwarded-Encrypted: i=1; AJvYcCUnWfTbVGMCgCvytG3lfaN69h68YsqIxiTw4gWOsBl5eL68Ng+ijAUmt2tp3XOb3W3vSVV34UYapWm1pKn3sdnbkQCQLAbcgF1lqken X-Gm-Message-State: AOJu0YxK3twjSemXRSS4vVtNc9IyiVQa4ut3+WY3t1b4T6eaPcA/l96y g9boLYHnTpGMwrbDJdOrkJ6D2gT1NaVFN3iHpJZTs4Ow6UYADPDMLKq9bPup2YE= X-Received: by 2002:a05:6512:2204:b0:51a:c2ec:72f9 with SMTP id 2adb3069b0e04-5221016e7b2mr20491321e87.49.1716157679456; Sun, 19 May 2024 15:27:59 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::8a5]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-523b261ad51sm1465981e87.224.2024.05.19.15.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 15:27:59 -0700 (PDT) Date: Mon, 20 May 2024 01:27:57 +0300 From: Dmitry Baryshkov To: Douglas Anderson Cc: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Linus Walleij , Cong Yang , Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/8] drm/panel: himax-hx83102: Check for errors on the NOP in prepare() Message-ID: References: <20240517213712.3135166-1-dianders@chromium.org> <20240517143643.7.I3fae28745bf2cacd8dac04d7a06daea50e233f46@changeid> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240517143643.7.I3fae28745bf2cacd8dac04d7a06daea50e233f46@changeid> On Fri, May 17, 2024 at 02:36:42PM -0700, Douglas Anderson wrote: > The mipi_dsi_dcs_nop() function returns an error but we weren't > checking it in hx83102_prepare(). Add a check. This is highly unlikely > to matter in practice. If the NOP failed then likely later MIPI > commands would fail too. > > Found by code inspection. > > Fixes: 0ef94554dc40 ("drm/panel: himax-hx83102: Break out as separate driver") > Signed-off-by: Douglas Anderson > --- > > drivers/gpu/drm/panel/panel-himax-hx83102.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry