From patchwork Wed Feb 28 17:05:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 207929 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3482430dyb; Wed, 28 Feb 2024 09:07:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXDtUlSuewk5fJOBCZ4bA6xMD7tJk0W6T/u/XU7haNLTeYZPCJOegdb1DfKEPig6cM4AZNvIe5Ni+dTo/tN25SQaHGB4Q== X-Google-Smtp-Source: AGHT+IEsP5A+y5eViEbQMebGjsIca6P9/mU0BtAN9qsSLoKyZto3bTURrcBM7Lg5ObIw1XZ3FktH X-Received: by 2002:a17:902:db0a:b0:1d8:f129:a0bc with SMTP id m10-20020a170902db0a00b001d8f129a0bcmr76405plx.13.1709140024947; Wed, 28 Feb 2024 09:07:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709140024; cv=pass; d=google.com; s=arc-20160816; b=RHWMjt4Q1sTbbUZly550K2nX9ZCY+PmcRmW3IdyXX18csXMkedVnv3XC7l5qpzZy8t FyP9DGijaT5RfHvzdh4n9TzpwElUI1UCy1nmChrSDJt2sKJLMk3O5wtiLZNqb+/NjquC +D++XO9oShzb79CmoMk/e6U0geeD1ld9wE1KO890pHA4WsFNPRMerEQrRKEciAIAzI/o PFN7HkH6ERJWwxPdNWxpqVpwMC+hhp4vEcbH/wNz/W50BiEe/ZX8nGBvtuRtP/XB+Gmj ikyopdDuHiW0Ws5rULBCFGW4r2TcqWLgYqqxIbutEfP284PlOXAA+VTnN+8kgSoTTw9/ qIfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=raKlYsxX1CoUA1rEC+HT6CFp25O9+mSwte0XpksV7ko=; fh=kaO/L8bBZnV5fl+H3e6uSZvs2qs6fMd0g6jiVQ3RgHw=; b=aW1vZYwZZvonYB78OvaVKk2HgIAFm0R651Ik8TAM24WI4wKuNnfEWwe2QMOLPIp5CG sa++5Bo1poU8TzPim1KNw/Nipf8XOWoITSxfL24ol7O8TlZxmiD807wlc9y2JBpOT5/N yJT8qVxHCo1zCgHJpcJOxh9RtXnaDTGrdUiNNMJSVuW20R8A8squzUmrPPcgavdneq5n Z77p4jmY09mEwMvpUPtDoAd7BNaX8CBCVtfDVXVRcSoPmgJIAl/E0YNRtNrgkiYxChWF 31lURpFs2zEDARzV3F0HbzXbjHyKRcJKlpULG3XbvZSOL03MZQ7ceIfNFrFXukXSZpAP Pjqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qO8zF7Dy; 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-85409-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85409-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q16-20020a170902eb9000b001dcccd329fasi1190007plg.184.2024.02.28.09.07.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 09:07:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85409-ouuuleilei=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=@linaro.org header.s=google header.b=qO8zF7Dy; 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-85409-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85409-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 773C6285EE2 for ; Wed, 28 Feb 2024 17:06:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 775341482ED; Wed, 28 Feb 2024 17:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qO8zF7Dy" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 DE416208D5 for ; Wed, 28 Feb 2024 17:05:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709139918; cv=none; b=g0dx29DueJbpl3vdf8EIOhlV3MfmKQE81pcXykvATZgXoN1CmymyJs0nqFLPw1OHt5507M8kvlRY1MZ6VsmYkwHeC3woXN/QHpiyZ7xpIqbPEqo7SEkqIakHSFhXkZMJ4SmuDxOd2IIPKVDRMjnxOWZd77mDilBx4Er4KHDh6nk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709139918; c=relaxed/simple; bh=FVcXaV24hqf+O26y29mEYjF1sOtwwqLMlU2ptNFM73w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=G00Az6ZePCP4d/5yQVN/llmBcd695vrXYC+9kPBMFLoMMpHg+eB3gr6cnbAY90HVZiR+Q4E7n0EE/WGsdlXIuH3AUV344gLhUtKsv2OKilMcFXoZicvWn1QlfKqP5X53FTV2QuT3jTFwBy7YY47t00n2x4JfA7z1o9xtKM99TF0= 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=qO8zF7Dy; arc=none smtp.client-ip=209.85.128.47 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-wm1-f47.google.com with SMTP id 5b1f17b1804b1-412b99eb5cfso233665e9.3 for ; Wed, 28 Feb 2024 09:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709139915; x=1709744715; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=raKlYsxX1CoUA1rEC+HT6CFp25O9+mSwte0XpksV7ko=; b=qO8zF7DyTgCMXD7wG0DKdxOu71OQGKrY2AxOVYzWXrVxJunkMJti3dOukL3TBEZlOz SltLAN+7Vut+D+VZc0SDR7hIclprTo1qfif4JHGO8n+zXXFh2ZgTPDwi28iyJJuPG51q VEHVYkHcb9fhJm6NrXVtddPWD6NufK8NKB9qkgpk7y/fbIg1VwJg1BZaKx9+jCDWTGpT gd7K6jFMV4Ak61BrJ9Fqdha5y+uKrepMkLxylenRiEPsBI/udR31ZpDskHYnrxcvR9i5 qtpZXmc/cMKhWhf2ESncMVWloc8PbxUL0kqNFbvXJmFIhdU342tpeORlNSDjXSK8NIjy p7YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709139915; x=1709744715; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=raKlYsxX1CoUA1rEC+HT6CFp25O9+mSwte0XpksV7ko=; b=SjUDShVGk39NwZ5TuP6l7N7M7aGG4jUp1JPGPyXtoF9Vrdj25+JcwzbJV/hUW42LTM gWlKVJwtlbUdXl7cXzc9J53JwkNYzO/VyIlUkeOieeNIdhWtpsml1tMos1DJ9T1O42qd WF8LdnzDwfWYv1sfHJ8WYEX3BDkK4hT6WVYvX85Di9Kn1FZZq5IeybN53bg13kn+iclg yiTO9uiQwUDAecyWUAGb4SWS4cRakoP1c3KAJpfDgHaLyFGoisSADHjPGStkwSxN0oA/ rrKUbUOpMbOV5QwnubgSEhK7+yCtiJXW9goAvnf+8hM70BJLiofOj8XfGpyPdAPxgTDb n3Sw== X-Forwarded-Encrypted: i=1; AJvYcCWEpks87HyQRnG9yh6c03L0A1wNKuaZgeEsOyGWpgFPBnAQFOzXkXJpkOXr7NrHqfg05VF8VoKm1tYx4yXf0q1uq1eS6lkHuKHdsLu4 X-Gm-Message-State: AOJu0Yz0a7okoN9K81gEAg/iEy3YoJmzIdRV4eLaHkoGnYbuDf5+GzyO 3mTnpBmxJnHD+ZgndAZcC05NmyHpKcFo4SmLQ9x+OH+wEZa8BDAteax0o6LEw0s= X-Received: by 2002:a05:600c:4f92:b0:412:b7cf:9189 with SMTP id n18-20020a05600c4f9200b00412b7cf9189mr62889wmq.36.1709139915134; Wed, 28 Feb 2024 09:05:15 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id m21-20020a05600c4f5500b00412b0ef22basm2659365wmq.10.2024.02.28.09.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 09:05:14 -0800 (PST) From: Neil Armstrong Date: Wed, 28 Feb 2024 18:05:13 +0100 Subject: [PATCH] phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240228-topic-sm8x50-upstream-phy-combo-fix-duplicate-return-v1-1-60027a37cab1@linaro.org> X-B4-Tracking: v=1; b=H4sIAMhn32UC/x2NywrCMBAAf6Xs2YU0mlj8FfGQpqtdMA82iVRK/ 93gcWCY2aGQMBW4DTsIfbhwih3G0wB+dfFFyEtn0EpflNYT1pTZYwnTZhS2XKqQC5jXL/oU5oR P3nBp+c3eVUKh2iSinc14NldjlbLQ01moe//t/XEcP/jXYUOGAAAA To: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=951; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=FVcXaV24hqf+O26y29mEYjF1sOtwwqLMlU2ptNFM73w=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBl32fJaprd3yno2KQHTuZClgxf8NyyfMXSP+P3A5oe F2jmTQ+JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZd9nyQAKCRB33NvayMhJ0QWoEA CkBL9dLTftxjIWRvnVqNsN90tY0MZj4bBejTiE/CMyzVjzNXn4YiMqSeEjnTZFohFMbGhnZpeCWJHi WzUM6e9tqdh3P+SUljyU8X/2nl2v8M3w6Knt/lQ0qri0SQSWg9H5PhIrXwFMNvP+8AZBMBFFzlY7MW hVrl5xaT3IZrfswDxrj0VPEVlOsUGPuzVmLyf1eXO8XFOOUFthXsDfpYFFjmBry8Zkqe6sDxjUcWQ8 0iO1S6vb9lwIcnv5iaQYtQOsz7hyy8rUqLuDSzYvybuLhi8YfOZBQObKD2YLddyJcK0AeLYWlAogdT S4bMkWwjl6eZMdfX5OzqZCY35onEZr4/GkqtwhzEyqkP+iOl3Jfu+s9kQfTmZFvfRHzNgzEnMDebLU PRjD5BdwG5r32Xpn+4XC2tbOVS3A2hLBuKunjBRFJIz4VUOcV47CCst2MxqiWd4veeCFhv+TVD12wg K+nIRJNLb3KE+vEHeQd4foJOXAZGlH4LtuEnsxx7SqoP6SakW03RKwypmarjFBOKsVzNb9pbzHkvde 8wOE5eLUG1/8eR1YI7JDOpNuceDmul9c2ek/jXNQjzgFxP+mdmjWdMt8JEleKrA+hIcngFNhGo+soW 0PjZmR/JDVNDO7igA1yMEzrd/kiSK87cdPUN5Rco9xL4X/iTK2U4ZfcvWPwg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792163211049579994 X-GMAIL-MSGID: 1792163211049579994 Remove duplicate "return 0" in qmp_v4_configure_dp_phy() Fixes: 186ad90aa49f ("phy: qcom: qmp-combo: reuse register layouts for even more registers") Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio Reviewed-by: Abhinav Kumar --- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 2 -- 1 file changed, 2 deletions(-) --- base-commit: 20af1ca418d2c0b11bc2a1fe8c0c88f67bcc2a7e change-id: 20240228-topic-sm8x50-upstream-phy-combo-fix-duplicate-return-6b5135756006 Best regards, diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c index 546d3c6bee32..2f341613fd31 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c @@ -2431,8 +2431,6 @@ static int qmp_v4_configure_dp_phy(struct qmp_combo *qmp) writel(0x20, qmp->dp_tx2 + cfg->regs[QPHY_TX_TX_EMP_POST1_LVL]); return 0; - - return 0; } /*