Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2381280lqp; Sun, 24 Mar 2024 16:54:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX49VX6G925kRsJSMUxXSIL8JwYSOYz1wrMZ5Tz4doHsVbUi+fkfCQNZArPqn26ErnLTSoVMWviUlTvgKUQk1afCUYqpt/1/fq+p0qEmQ== X-Google-Smtp-Source: AGHT+IG6JCSBsZLUdtVaLnT2e6kVRTT/GR1C8Ph/oJFy8RyaoS5l1t1O2VuyDiJYa6LyQuDfmt8y X-Received: by 2002:ac8:5d86:0:b0:430:95e4:7c12 with SMTP id d6-20020ac85d86000000b0043095e47c12mr6923992qtx.55.1711324486133; Sun, 24 Mar 2024 16:54:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711324486; cv=pass; d=google.com; s=arc-20160816; b=F0tRikCTTRhZC2osbysGZBvxdPY9O9R80qTDryIWfB7g+3SFKvcQGGvGIuRvHXeYiY iuHTXiDz2b+J1f57+4j6VCaPwmzbLKdChycOGl4OMqBURTNd+4o/666PS72JtOrsl3Yf /hYHhqFPJ4Ji0545d5OFFG8wexq8/NczxicP7laf61Bytft2qTw7YIkPRTtPCv/HJeLZ 1sN3TNNyGUsMbxn/NMurvKlh4w19xKXNNvPZj5QCnKp0UJ3AOZEiaR4YSFu30RxUBuBU PA2Zgb9XO6m7JV4j5mlXEg71QoUZxlasYEaVEfnAAUrcwtbyqzFip2me/xrK9xFvPlhf AQRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=loIR/it9J78SvZ9GYHl8CZVA5Y6QPrnUGFGiZqNn1E4=; fh=L6XEKJRVNn+QKA87wuFZyw0dkgwAzg+VxKvUhUNgtDQ=; b=swGH1yNO9K9AltQM6NEwL5NPpKYsw1zUdP0YcT1dOiKfRUvkDU55VGiJvxBt214yf+ 1k1SMC6D8SawJV3Vm8RTbIvetwB3d5/QFdNmejCeVtkPjtr7ekfKDPPia6tcAKTIXGdC 67QhfKERwqi22B97DvVHA9kdMtatN5ImsHj76OfCQ9E5kVoz/q6i8Y/0WTl2RQ1z/BkS UtVY0e4c8oxENuAXT3jSGF3DrIDBLAS5PXjImuemq/avW4zO4S6kNbTKwxChrc0HbQf6 5y/mNAp8Mmh4tZZRhOOCg32SyMF+CUwOLyXhawJHDLqfyKGQpwP/MWuhgCK/erxMZWA/ AD8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TxNEynHH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fz10-20020a05622a5a8a00b0042f4db1ba40si4425327qtb.608.2024.03.24.16.54.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TxNEynHH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 CB9101C22D22 for ; Sun, 24 Mar 2024 23:54:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18AD5187661; Sun, 24 Mar 2024 22:40:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TxNEynHH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D029187642; Sun, 24 Mar 2024 22:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320053; cv=none; b=nlq+pVVCSQYvhtlA5tU67we14UF0xwUIP7Zb+qohIvsCiVRgoMcLGc2dYQyZNJ0nHeSiKL+8T8frr+5hpKXRA3YuGuxqpzcaZQY1Q+N3mKJkVkVm3XD94dY1bL6L3UAydH2ctaQJohMRHZzQf1AvytaUzsK6OqNleNG+lxNixs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320053; c=relaxed/simple; bh=2dsSi5JtAsBqm4Skku4k42Ycxqzvl16liEF0hci/lEU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=f32+RSJMWw0tuQhZ6mZJZXl4z2zdEwneceVYJyefk/u8dhGbJ675D9GO8X6WHe1GmkMT0dLVqFX1jtUqYCOuvjgIEfeNGPGGvWwGtzwrjAohj6jCdF5WjaxxPbQUTbjugVPnlKy42j5RHbRrL7tHI1DN2oBUIclTdURhPVjDBt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TxNEynHH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5649FC43390; Sun, 24 Mar 2024 22:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320053; bh=2dsSi5JtAsBqm4Skku4k42Ycxqzvl16liEF0hci/lEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TxNEynHHhwk9Sw1EPg9IDq4nVLdOoZ7RkfDsntaCBO40Llw1E6blHTvLYhvCsxPJ4 gmz+sW4YfV/0RP8s4cgULilYDMr47myMSZz7oJzb3cHnDBi2m7taEXiK0b6Hf3zZfM JfaTakFKMKJvKaviGMUMKJgFXNbALO/6ubRzah3tN+DPIcqrsnVzV299l79A2cZiMb xbV1z2SPhjemnBVjxG8vd/imdXQXUtMGgDiSERwISefdDH/ulTFzCKEFW16sHvjExD WE+61uGmGKXFyltKRZO3fopOt96ZfHB+R9e6/uIsPLBUsAyqs8jvmOw+7k3d6XVj2l jTJaF29cRQTFA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Quentin Schulz , Quentin Schulz , Heiko Stuebner , Sasha Levin Subject: [PATCH 6.8 362/715] drm/rockchip: lvds: do not overwrite error code Date: Sun, 24 Mar 2024 18:29:01 -0400 Message-ID: <20240324223455.1342824-363-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Quentin Schulz [ Upstream commit 79b09453c4e369ca81cfb670d0136d089e3b92f0 ] ret variable stores the return value of drm_of_find_panel_or_bridge which can return error codes different from EPROBE_DEFER. Therefore, let's just return that error code instead of forcing it to EPROBE_DEFER. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Cc: Quentin Schulz Signed-off-by: Quentin Schulz Signed-off-by: Heiko Stuebner Link: https://patchwork.freedesktop.org/patch/msgid/20231120-rk-lvds-defer-msg-v2-1-9c59a5779cf9@theobroma-systems.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/rockchip/rockchip_lvds.c index 59341654ec32b..6ecb6b8a1dcde 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -577,7 +577,6 @@ static int rockchip_lvds_bind(struct device *dev, struct device *master, goto err_put_port; } else if (ret) { DRM_DEV_ERROR(dev, "failed to find panel and bridge node\n"); - ret = -EPROBE_DEFER; goto err_put_port; } if (lvds->panel) -- 2.43.0