Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2489449lqp; Sun, 24 Mar 2024 23:15:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhA9kuMIzYvQK6iKqe7aGE4t//bARvt4ALUkplc5Oem0Xrp2mHf+hv5xU6g4g1dD9iZKaAvmvTcUl6nu/FEfwzrSEE11py3nqOd99J3Q== X-Google-Smtp-Source: AGHT+IGHJuckn9s71JK3PB0LJOcVyvM2uTDcHBQT1kj6Jl8QggzUm4LUPRv3+N4Kg5KYVj7boZ9i X-Received: by 2002:a05:6214:b6a:b0:696:8bde:77d1 with SMTP id ey10-20020a0562140b6a00b006968bde77d1mr3065529qvb.23.1711347337064; Sun, 24 Mar 2024 23:15:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711347337; cv=pass; d=google.com; s=arc-20160816; b=adlvE6N7bzckKIR2/gpxsva72/sN2ud4xpOwXaKglZUMKhq9kPSZT+ZJygBBDgmS8a Xp8hC7NHi8OI5Mi81CGDSpZzzFfypZGNDQ2CfDuK4OkpVYEGpvJLlaapmk1s4Qbf5rNi hJpEcXRamKJwYiBD7JdNpq3cayjujlhgwMc7r0/xPXsDwJgZCY//JVdBMPRagUbY5EqJ LmJu9f7PeltRZTcn8FCBFb1CkcWiIe7/pxaBwUCni6phTR2WWVdthgr5Kws1ria37wEx 1tJ7taApWDBxMkPOYvJX9HJ196vgtPGgtKeZdxUdM9/5knA5hOzXBhYPqC/rhC56gfvv prYw== 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=x/qPv/4TYfhlf62iTMWTnZPiP3e9TFn5AsIblkmIQkI=; fh=L6XEKJRVNn+QKA87wuFZyw0dkgwAzg+VxKvUhUNgtDQ=; b=v9pKbdYvSOblmc3CNfYZJM3p49FWnJ/6kxvCJtyNQ35xJwdHaAAU8KNLugf6KpdpN4 YLG+Xzbw10GkdMFf8Koewyrl/kBa0WVS3nXKto0PGFSUUPUrUdrgCpQvoyR84mlJlpHS zgJ/R6m21ervsfA7lPCdV9sADWWJDSjSZXdc2VJYLdobBXbkjMUcNG/AbqHpHYusfiTt 23fTJUCvCGvpd4CyrKUOfQ+XbWqm6y8TcBeH82UjR9lGKgNaitO/72ftCLtahgPw8B6Q A1MG17sg5AhHonmObMudtoSTa0aRckQIg7mr4mhjy9+VeB+0bF6jTdneN+A+KZk2t5Vp 30KA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ezkxc+Tf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-114537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-114537-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. [147.75.199.223]) by mx.google.com with ESMTPS id gi13-20020a056214248d00b00690db7656eesi7228577qvb.57.2024.03.24.23.15.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 23:15:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-114537-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=@kernel.org header.s=k20201202 header.b=ezkxc+Tf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-114537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-114537-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 C46481C2C304 for ; Mon, 25 Mar 2024 06:15:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22275291B74; Sun, 24 Mar 2024 23:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ezkxc+Tf" 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 EE2BF22BBE4; Sun, 24 Mar 2024 23:16:08 +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=1711322170; cv=none; b=LjtKlc020cAEdGyGfQgbZcIz805l8Q8srP1qN1ZBKyaNEoS/7gOC9PxXj+J37Gi4hiD/9wdqyAk4mljeyW+OFk/NRYBIU0S787Nw08Y3GbSGVZJaAqEgbAaP1T0BE4S7wVlmXycd/gnrlMw04ND+sXb4iawNNkMpORpvEKvmdQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322170; c=relaxed/simple; bh=4aNxRsQip9VxH0hLR7pozAeJ63vcgxQPhA9hbcz95Lc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=klMSZ5qi5X3eorahvzQY1dedN5WksS3WRvIlgxURd457tkzU8Np9rjYctqLF+H17Ic1w2Do5hMuN+ekapDukoRJwxC7kbi+U6zuHxwKT6o/6AMH45g17oNFMmaoxMSyB8khN0vPYEUUslO8kFCN9rx13uAzOw5qVK1dOZeqNDI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ezkxc+Tf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22511C433F1; Sun, 24 Mar 2024 23:16:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322168; bh=4aNxRsQip9VxH0hLR7pozAeJ63vcgxQPhA9hbcz95Lc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ezkxc+Tfh9y8bnXL+8wrKmvj1okWca6IcZR0fFfydRz5dwsfFDVGQbQBZtqYHWroP TF0lbUmSGNc6AIjoe/QyFlXoT6LnvBhVYn0YnfU+kyLKueHLXflGUXMqGoxIbitYnc FZh5aQhqZHeIHxIhtPY9ix6la6GHDNiZV6rtJS0NI2nNsedtQqfwpuslRW8R1527yD og8JT644PcFez8PQslcC8t5LYS/yHiZWkoc86P92BNdm9wUXg1WTCRZDxEeGeuNAHl tEgC5AE/GNx2X1ojGBPNF/4hr+ERdHuzeQcnWC/FQYDccjws0qVuLjznc9Jbv6KkS4 oKWlAwrsPNRwg== 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.1 247/451] drm/rockchip: lvds: do not overwrite error code Date: Sun, 24 Mar 2024 19:08:43 -0400 Message-ID: <20240324231207.1351418-248-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-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 68f6ebb33460b..1fde888cdd827 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -578,7 +578,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