From patchwork Fri Mar 21 14:36:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 14025571 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52471C36000 for ; Fri, 21 Mar 2025 14:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VgnpER5e9t1H2Uik9vXbdZIM8artGIPHFMzpnBRjBoQ=; b=Gjr+G3WJj41c8z UrXWO23BgOwkjXA4miE6vFUZdVDhEn6hxqz1iUFzJCzYum/8bjkJXLKYzC4bxP8IsMMiqhI3/P8Co Mvj9Aq6QPZrD9Wof577Jm6Jw5e2Ob3gpPCVw+zqP0aFNarFhRwnpitdt+wvnHLd3PdGfJ1deCuO09 cINdv8/8Ul31CuubebCZANinWSJNnzI69LPE41/R5afajogJDjZPtLewF8+p61aRMvRHplKfw2mH2 ii+dS3+KrD79FesVaMpMjDAdL9tBPwKrYp0bsZQ4LbWGA9g+8iuZiwSnVznYKVABxhcYoZ26nDGUG DyQHagwfoL0ucq4MPrww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tvdat-0000000FATj-0IL5; Fri, 21 Mar 2025 14:43:31 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tvdTy-0000000F8aM-3c2f for linux-phy@bombadil.infradead.org; Fri, 21 Mar 2025 14:36:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=Ra/8DYijPPPXyKfJwTLkvfoC8/C3kF5QcCpYx+TRQN4=; b=oVzpjopst71Lgs+5D37sF4Gzx6 O1cggH+c0piW5+U/MgWjrs6HcamSAB1cSY395YJcdXQ2jXw+NiPwAyPDpkvoH84JWnsVZQb/BHA54 q/nAH8N8g7bMMnYf9sZHhat8FovQx7KWu13KD/ZmxNDp/O3urMfqLQ4ZJmvDdgZs4EyNzleNrKr4D 6Q4mhi/kys5kWx6QB00qVaeRgyZx0dSl4WI0WipJn6gbI3FAVlMYEHLYXZpKaXK5548DSIC04Wdb2 ykNbu4e6Y9YFLiqvedthjlbRMzWUf+cTI34ifaDoqoV15P30XU/vMrPLxkWoGBzzU54OVpUg7i00K MfqsVkGA==; Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tvdTv-00000004OH1-2sb1 for linux-phy@lists.infradead.org; Fri, 21 Mar 2025 14:36:21 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43948f77f1aso13077365e9.0 for ; Fri, 21 Mar 2025 07:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742567777; x=1743172577; darn=lists.infradead.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Ra/8DYijPPPXyKfJwTLkvfoC8/C3kF5QcCpYx+TRQN4=; b=Z0NMazvr0nzcqJW/VWvxSR6atAaNkXYoKsr2eLGq3gUI5qBHXovmECwh7mQMUV7dxA MPBwWmvTSG2mbpQBSCmIrRjytB7n/FGi+TGkKihjpt/BGLXEM+ljk5Nz1etMNomudnfg zPcxaIuvLJrLJAtgq6xKe9ukmnUMEqNHk5aW+CuH6OfBQAlJqISdMtxZgvq7F3CQRAum 6nsMt5swMY9sUxLieWNTHGegekFUlpQdm+b6ALrNeb5IBZ3V4aa7JuRfYjTA7rkVfMuw uFh6VAfqNIyH7Jxf/ChP6gysE3nsaNdSq1xuRnIXKwNnTAUzSWU4knvIBI+nR/VhKKUu uHjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742567777; x=1743172577; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ra/8DYijPPPXyKfJwTLkvfoC8/C3kF5QcCpYx+TRQN4=; b=t1NGj4urltVyNp05QF2Gh8OlhER3aDBl35+JfE23wFfiG54Nu2eDEgO+19u4jmzs4H vGRplpypnN6/pzFUuPzK9YhyLa19/q5WporTHoKgKwquQCoNTknRROJH7Ox1g/yjjK21 2rBuWVATa/YudWR9b2Qf1SEDwksRspIplV4XEaeIPMQx0jH8EwHQ4l3PbxPjZLrW+Nns 7/jY/veZBr4+c6IHjT3XPu/coHl+rt51Jql455k2r/iubHl26KzeZEaop2D8nkeQaNyB F3xHofpXTrnTxZhVuCoJE7Z7ctK8XKc5iJgkgIy1/16FsH79CYaIJVyxRWUFUQZnkCg4 jT0g== X-Forwarded-Encrypted: i=1; AJvYcCUzqMKgMp5hlkU0dg/VC0MXipmCuvyrkWKETzhbQM7/2FzNfjDib4gKOgeum0chPlocYFynWyOgrU0=@lists.infradead.org X-Gm-Message-State: AOJu0YwSsGt61+fZ+Evl8UT49GsdqrzZopeokm8NE+piEceHqOsmXvxo 0dzqp1rQm0i3sNTZ6B2XnWukVK0sZMSzV6nQ3Z32UvZSLusDr1WyKXCsbythFdo= X-Gm-Gg: ASbGnctJq2EvK9bC1jsmFUdnKj71+Kor9IFXRGt14+3jPEwn5ihkIypvnVoEak/L5gS VDN2sgzu+BUjQafHh0jywEyPyr8wxVES6lxkrQjuXRfhIGRIMPTFd2sz4Bv1rwEJcnFKtJyb5UR sjFRQmni2rWY7nvMxKYyJROeYfa+4B36FjmhQByE1PWm0Q5fuuoxd8oPKX/gOZFdxxWLs5YOgmv N8BMkc976V+vOSlR3ZOOVsIL0A1CgBVsca8mo+tTVMVruy34sSXHf3cplTdykde1+1sg1Sz9DvB TYey0PP2nRazquANnQ5R6Jj4LPZb05a9YwO9op3WmTMRmQEIqQ== X-Google-Smtp-Source: AGHT+IEBLRuGXXY3Hg/ewdBvYCF4zvDlD21Rbhn+1Z3hKO681e8YV9SPfJqpV9SZgDhIe4keKF4QkQ== X-Received: by 2002:a05:600c:8719:b0:43d:53c:1ad6 with SMTP id 5b1f17b1804b1-43d50a4ae7dmr28254255e9.26.1742567776837; Fri, 21 Mar 2025 07:36:16 -0700 (PDT) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-43d4fceafacsm29121045e9.6.2025.03.21.07.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Mar 2025 07:36:16 -0700 (PDT) Date: Fri, 21 Mar 2025 17:36:14 +0300 From: Dan Carpenter To: Heiko Stuebner Cc: Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner , Sebastian Reichel , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH next] phy: rockchip-samsung-dcphy: Add missing assignment Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Mailer: git-send-email haha only kidding X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250321_143619_804757_E769E775 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The "ret = " was accidentally dropped so the error handling doesn't work. Fixes: b2a1a2ae7818 ("phy: rockchip: Add Samsung MIPI D-/C-PHY driver") Signed-off-by: Dan Carpenter Reviewed-by: Heiko Stuebner --- drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c b/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c index 08c78c1bafc9..28a052e17366 100644 --- a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c +++ b/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c @@ -1653,7 +1653,7 @@ static __maybe_unused int samsung_mipi_dcphy_runtime_resume(struct device *dev) return ret; } - clk_prepare_enable(samsung->ref_clk); + ret = clk_prepare_enable(samsung->ref_clk); if (ret) { dev_err(samsung->dev, "Failed to enable reference clock, %d\n", ret); clk_disable_unprepare(samsung->pclk);