From patchwork Mon Dec 23 14:30:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 11308377 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 26DDB921 for ; Mon, 23 Dec 2019 14:31:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 05FF821569 for ; Mon, 23 Dec 2019 14:31:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577111471; bh=3cUpT0mny7tfDIGYn2V0LDUiAbt2ffFJwm4dcoAsQww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=UWi0hbuJ0DpMtQUjOwURitAFXMuz1cV6tLIpcKmrmmll65Nb3+rCZ0dazqzt4kmnb S9aWKhL/T5Afi+3tGMqn28A+gAbiHfh8R4Ree9Gnn63ZpMs2BGzM+XeJQXcI38xUn3 5wuhU6Bb5h8VIFusbx3PWTdZxHXC8571o3iMNAnI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727049AbfLWObJ (ORCPT ); Mon, 23 Dec 2019 09:31:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:51638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726997AbfLWObI (ORCPT ); Mon, 23 Dec 2019 09:31:08 -0500 Received: from vkoul-mobl.Dlink (unknown [106.51.110.206]) (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 D14F52073A; Mon, 23 Dec 2019 14:31:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577111467; bh=3cUpT0mny7tfDIGYn2V0LDUiAbt2ffFJwm4dcoAsQww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mP71U7+bwHXCPh8kzD4jtLNTeggnElMia699oF1a+KgUrxT0I/ZkvNkzZWxyw2MwB Mt3RoYgMTmLkEzqWaPl2pHoBacKGcFqHK4tZ+Dzborinh8XjyHY8IiM8U5Qf0T/cJF ljin2oev0Bk/UOk5D2/4dB0KK1Cg3d76l7+nYBQ8= 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 , Manu Gautam , linux-kernel@vger.kernel.org Subject: [PATCH v3 2/4] phy: qcom-qmp: remove duplicate powerdown write Date: Mon, 23 Dec 2019 20:00:44 +0530 Message-Id: <20191223143046.3376299-3-vkoul@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191223143046.3376299-1-vkoul@kernel.org> References: <20191223143046.3376299-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 Reviewed-by: Manu Gautam Reviewed-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 1196c85aa023..4f2e65c7cf45 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),