From patchwork Thu Dec 19 15:04:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 182122 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp599559iln; Thu, 19 Dec 2019 07:05:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwo6vkF0HLeuwGioppSW5AkL+zRmNCeFSzZ4+gpoQr/BDQjuLKADf7AXugCcaTF5RGWhFc4 X-Received: by 2002:a05:6808:9b4:: with SMTP id e20mr578757oig.37.1576767940719; Thu, 19 Dec 2019 07:05:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576767940; cv=none; d=google.com; s=arc-20160816; b=NHaeY2sb3Tqi/8yvrneMRqgIVqwPE3mQKoGk24b6mTOkpB4UjzomaGbCuFAcgX13kB aRGqxEp55Sz0q1u/gwHiKWB2aUOsZKyrUz9xmsjiKBP2ENIQoM9UEVqjSHA0saHf/28q 6f3A4RS/GVpm65AGmsClecQbdz4IdrblRt9OzF0xHH24qqSim3yhjILa8v+PfpU3iUKF rmDF3EO8z3hKjk7ZWWh091QbPha1xWLhxn5D0ZvDo8tHSyg/0hYGNXi/nCzvkZp9/HLc jDTI7V/l1R7gknoN6mMmUaNVt4m012afq51OdeglSCR6/ufXuzqVQepMEHQDG2xI2G7f RkPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oheoDFG5gU1caTfdgJ5aCIxpLF+prdBmssw2tD96l+o=; b=xP8naSUqeJrEczN0D4O+g9qH5JTu0stfcMid442pNU/XJcsBX0hYvaOZAXcPCwkdDp 4O/ibDLQppQSA94hVRPIWPqaSoSDK6wzGol75go7Y3wZpAO5iCdCOcDeQTxl4onLXuXd YawnA8xGmUzxs7+sjpret6uIHiJqRYIcdxBmznZTNcgRW7yD1pf8rfeXL+O2XntXEsEL p4bBE59D/1W/rVFADnGMBbOmd6ihAaZvJhxrj1KoSHN8tkjXcjfLLC/4UG813crDEZoX 2o3Bs30O+ZfPv6jBgG9+cbURseq4//FlJBK27i3GnjbKKg6uj7YcvyILYek2QqNWzVnb A9LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VYxcHDDB; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m24si3463420otn.67.2019.12.19.07.05.36; Thu, 19 Dec 2019 07:05:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VYxcHDDB; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726801AbfLSPFL (ORCPT + 15 others); Thu, 19 Dec 2019 10:05:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:34354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbfLSPFJ (ORCPT ); Thu, 19 Dec 2019 10:05:09 -0500 Received: from localhost.localdomain (unknown [122.178.234.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 09EA824672; Thu, 19 Dec 2019 15:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576767908; bh=p80ASa2e+ERmBUt4/2lrbwFwRHc3FZsVGsG89n2xFRI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VYxcHDDB7QXpMzgECtUDyu9s3nmp4cwHUCukVUhPwthi52qMM5l7Pdvp0ZIOOlHxU W5yEiCYGb+O1PifZMJacf8Bu1lVzfBe3TPqeXRIV8mcM+fGpx6ym1R5dhPiuDSJoxv 7E8WLVOZDky85i2qWroG2BzSIAigwJqadWt4H0Ck= From: Vinod Koul To: Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Can Guo , Jeffrey Hugo , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] phy: qcom-qmp: remove duplicate powerdown write Date: Thu, 19 Dec 2019 20:34:33 +0530 Message-Id: <20191219150433.2785427-5-vkoul@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191219150433.2785427-1-vkoul@kernel.org> References: <20191219150433.2785427-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org We already write to QPHY_POWER_DOWN_CONTROL in qcom_qmp_phy_com_init() before invoking qcom_qmp_phy_configure() so remove the duplicate write. Signed-off-by: Vinod Koul --- drivers/phy/qualcomm/phy-qcom-qmp.c | 1 - 1 file changed, 1 deletion(-) -- 2.23.0 Reviewed-by: Jeffrey Hugo diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 80304b7cd895..309ef15e46b0 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -885,7 +885,6 @@ static const struct qmp_phy_init_tbl msm8998_usb3_pcs_tbl[] = { }; static const struct qmp_phy_init_tbl sm8150_ufsphy_serdes_tbl[] = { - QMP_PHY_INIT_CFG(QPHY_POWER_DOWN_CONTROL, 0x01), QMP_PHY_INIT_CFG(QSERDES_V4_COM_SYSCLK_EN_SEL, 0xd9), QMP_PHY_INIT_CFG(QSERDES_V4_COM_HSCLK_SEL, 0x11), QMP_PHY_INIT_CFG(QSERDES_V4_COM_HSCLK_HS_SWITCH_SEL, 0x00),